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:
parent
e6a6b3fc48
commit
34e795ff0e
2 changed files with 3 additions and 1 deletions
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue