mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
no need for type checking
This commit is contained in:
@@ -1350,7 +1350,7 @@ module ActionDispatch
|
||||
end
|
||||
|
||||
def scope_action_options? #:nodoc:
|
||||
@scope[:options].is_a?(Hash) && (@scope[:options][:only] || @scope[:options][:except])
|
||||
@scope[:options] && (@scope[:options][:only] || @scope[:options][:except])
|
||||
end
|
||||
|
||||
def scope_action_options #:nodoc:
|
||||
|
||||
Reference in New Issue
Block a user