Permalink
Browse files

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
  • Loading branch information...
seckar committed Aug 30, 2005
1 parent e6a6b3f commit 34e795ff0e8cf91c8bd1e2938d161acafe74e2c0
Showing with 3 additions and 1 deletion.
  1. +2 −0 actionpack/CHANGELOG
  2. +1 −1 actionpack/lib/action_controller/base.rb
View
@@ -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 @@ def process(request, response, method = :perform_action, *arguments) #: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

0 comments on commit 34e795f

Please sign in to comment.