diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-07 18:28:02 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-07 18:28:02 -0600 |
commit | 40ad54e3811913c2bc60c7ee292fa48862f12001 (patch) | |
tree | 1262e4052ac27c0694980a2fe19553ff1dab0b39 /actionpack/test | |
parent | 66375434b6c7e03a396bbeda3f7029dea2a59f23 (diff) | |
download | rails-40ad54e3811913c2bc60c7ee292fa48862f12001.tar.gz rails-40ad54e3811913c2bc60c7ee292fa48862f12001.tar.bz2 rails-40ad54e3811913c2bc60c7ee292fa48862f12001.zip |
Allow scope to take :path and :controller options
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index b8bcdc2808..85616b5a59 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -94,7 +94,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest controller :articles do scope 'articles' do - scope ':title', :title => /[a-z]+/, :as => :with_title do + scope :path => ':title', :title => /[a-z]+/, :as => :with_title do match ':id', :to => :with_id end end |