Ruby on Rails Discussions
check for which page the helper is in
rubyonrails-talk
Erol_Fornoles
(Erol Fornoles)
October 15, 2008, 8:39am
1
current_page?(:controller => 'user', :action => 'index')
Related topics
Topic
Replies
Views
Activity
How to know the current Controller
rubyonrails-talk
0
123
July 30, 2007
How do you check for Current Page status?
rubyonrails-talk
0
95
October 22, 2007
Find out the name of the currently :action
rubyonrails-talk
0
123
October 15, 2006
Accessing name of controller and action from layout
rubyonrails-talk
0
143
September 11, 2006
How to get the name of currently executing action/controller
rubyonrails-talk
0
141
September 19, 2006