Skip to content

Commit

Permalink
Merge pull request #1073 from Charlesetc/fix-duplicate-validations
Browse files Browse the repository at this point in the history
No longer resetting validations twice
  • Loading branch information
dblock committed Jul 20, 2015
2 parents 018941e + a57ad3b commit b5c83a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/grape/dsl/settings.rb
Expand Up @@ -126,7 +126,6 @@ def namespace_end
# next, within a namespace.
def route_end
inheritable_setting.route_end
reset_validations!
end

# Execute the block within a context where our inheritable settings are forked
Expand Down

0 comments on commit b5c83a4

Please sign in to comment.