Why isn't method defined in application_helper available to use in the view?

前端 未结 0 1602
忘了有多久
忘了有多久 2021-01-11 23:14

When I put this in the application_helper.rb, it is available to use in the view

def foo
  "bar"         


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