コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
5680 ビュー

Hello my Friends,

I want to ask you how can i raise an exception in a controller.

I have tried as usual raise UserError but it doesnt work ant i got this:

 

アバター
破棄

Pleae show your code.

著作者

Would you help please !!

著作者 最善の回答

It i too simple my Friend.

I want to launch a warning like those launched in models class. But, this time from controller.

I have tried the raise.UserError it doesnt wok.

Would you help please?!

アバター
破棄
関連投稿 返信 ビュー 活動
0
12月 23
2375
2
12月 23
15654
0
10月 23
33
3
10月 23
790
1
10月 23
569