diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-28 17:54:19 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-28 17:54:19 +0000 |
commit | 5136c2a16b625f99df3e0255bb8eaf80161b5823 (patch) | |
tree | c1eeedc1fd9e4d1ba6784f26b54fa89b67d70042 /actionpack | |
parent | beffb77e05bf3c192e798587812105458146df32 (diff) | |
download | rails-5136c2a16b625f99df3e0255bb8eaf80161b5823.tar.gz rails-5136c2a16b625f99df3e0255bb8eaf80161b5823.tar.bz2 rails-5136c2a16b625f99df3e0255bb8eaf80161b5823.zip |
Badly applied patch fix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1554 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/routing.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb index 7df25dba0f..998faf356f 100644 --- a/actionpack/lib/action_controller/routing.rb +++ b/actionpack/lib/action_controller/routing.rb @@ -397,7 +397,7 @@ module ActionController method_name = "generate_path_for_#{ivar}".to_sym instance_variable_set "@#{ivar}", routes code = generation_code_for(ivar, method_name).to_s - method_sources << code + method_sources << code filename = "generated_code/routing/generation_for_controller_#{controller}.rb" eval(code, nil, filename) @@ -410,7 +410,7 @@ module ActionController code = generation_code_for('routes', 'generate_default_path').to_s eval(code, nil, 'generated_code/routing/generation.rb') - return (method_sources << code) + return (method_sources << code) end def recognize(request) |