diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-30 12:08:32 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-06-03 11:33:52 -0700 |
commit | d00bbe64aea227df44729f5ea522e2a0462a0797 (patch) | |
tree | 3061b7d07231a36aedad48a311e4c00ec6cc3cec /actionpack | |
parent | 03de3a02c7feb523de437d1f33a3629fc3775a27 (diff) | |
download | rails-d00bbe64aea227df44729f5ea522e2a0462a0797.tar.gz rails-d00bbe64aea227df44729f5ea522e2a0462a0797.tar.bz2 rails-d00bbe64aea227df44729f5ea522e2a0462a0797.zip |
no longer need the scope ivar
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index c4cfe47d6f..4dda6d3101 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -62,11 +62,10 @@ module ActionDispatch class Mapping #:nodoc: ANCHOR_CHARACTERS_REGEX = %r{\A(\\A|\^)|(\\Z|\\z|\$)\Z} - attr_reader :scope, :options, :requirements, :conditions, :defaults + attr_reader :options, :requirements, :conditions, :defaults attr_reader :to, :default_controller, :default_action, :as, :anchor def initialize(scope, path, options) - @scope = scope @requirements, @conditions, @defaults = {}, {}, {} @defaults.merge!(scope[:defaults]) if scope[:defaults] |