【发布时间】:2012-03-08 14:46:58
【问题描述】:
我不知道怎么想...
在 routes.rb 我有一条路线:
match 'profile' => 'profile#index', :via => :get
我参与了/profile 行动。
params.inspect 给了我 {"action"=>"index", "controller"=>"profile"}
我不知道为什么要 current_page?(:controller => 'profile', :action => "index" ) 给 false?
非常感谢。
【问题讨论】: