mirror of
https://github.com/github/rails.git
synced 2026-01-25 22:38:33 -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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user