Rails 2 to Rails 3, method verification in controllers gone?

前端 未结 0 617
耶瑟儿~
耶瑟儿~ 2021-02-08 17:05

Coming from rails 2, most of my controllers would have these lines:

verify :method => :post, :only => :create, :render => {:text => \'405 HTTP POST r         


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