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
121
July 30, 2007
How do you check for Current Page status?
rubyonrails-talk
0
94
October 22, 2007
Find out the name of the currently :action
rubyonrails-talk
0
122
October 15, 2006
Accessing name of controller and action from layout
rubyonrails-talk
0
140
September 11, 2006
How to get the name of currently executing action/controller
rubyonrails-talk
0
141
September 19, 2006