Skip to content

Commit

Permalink
Merge pull request #28 from arthurgeek/patch-2
Browse files Browse the repository at this point in the history
Fix: the right status code here is `400`
  • Loading branch information
jodosha committed Jul 7, 2014
2 parents b8f5c52 + b68a081 commit 0c94bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ not bubbled up in the opposite direction.
require 'lotus/controller'

Lotus::Controller.configure do
handle_exception ArgumentError => 404
handle_exception ArgumentError => 400
end

class ArticlesController
Expand Down

0 comments on commit 0c94bb3

Please sign in to comment.