How to use flash with error handler in Rails 6?

后端 未结 0 1840
醉酒成梦
醉酒成梦 2021-02-08 07:35

For some reason, the flash message does not work when rescuing from an error.

routes.rb:

  get \'/test\', :to => \'pages#test\', :via => :all
  match         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题