diff options
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/routing.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/routing.rb b/actionpack/lib/action_controller/routing.rb index 285d692f4e..f6489cdb14 100644 --- a/actionpack/lib/action_controller/routing.rb +++ b/actionpack/lib/action_controller/routing.rb @@ -100,6 +100,7 @@ module ActionController def initialize(key, options = {}) @key = key.to_sym + @optional = false default, @condition = options[:default], options[:condition] self.default = default if options.key?(:default) end |