1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Use string key to set action_name for controllers. Closes #1968

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Nicholas Seckar 2005-08-30 23:52:53 +00:00
parent e6a6b3fc48
commit 34e795ff0e
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Use string key to obtain action value. Allows indifferent hashes to be disabled.
* Added ActionView::Base.cache_template_loading back.
* Rewrote compiled templates to decrease code complexity. Removed template load caching in favour of compiled caching. Fixed template error messages. [Nicholas Seckar]

View file

@ -354,7 +354,7 @@ module ActionController #:nodoc:
initialize_template_class(response)
assign_shortcuts(request, response)
initialize_current_url
@action_name = params[:action] || 'index'
@action_name = params['action'] || 'index'
@variables_added = nil
log_processing if logger