Ruby on Rails Discussions
Find out the name of the currently :action
rubyonrails-talk
Gustav_Railist
(Gustav - Railist)
October 15, 2006, 10:19am
1
You could try:
@action_name
= params[:action]
Gustav gustav@rails.co.za
Related topics
Topic
Replies
Views
Activity
Find out the name of the currently :action
rubyonrails-talk
0
136
October 15, 2006
How to get the name of currently executing action/controller
rubyonrails-talk
0
147
September 19, 2006
Find out the name of the currently :action
rubyonrails-talk
1
158
October 16, 2006
Accessing name of controller and action from layout
rubyonrails-talk
0
148
September 11, 2006
Get current controller name/action name from view
rubyonrails-talk
3
203
May 11, 2008