Skip to content

Commit

Permalink
Remove wrong comment
Browse files Browse the repository at this point in the history
This method raises conditionally not always so we should not documment
as it always raise.
  • Loading branch information
rafaelfranca committed Aug 10, 2015
1 parent 09e1689 commit 8d0c107
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion actionpack/lib/action_dispatch/routing/route_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def serve(req)

prepare_params!(params)

# Just raise undefined constant errors if a controller was specified as default.
controller = controller(params, @raise_on_name_error) do
return [404, {'X-Cascade' => 'pass'}, []]
end
Expand Down

0 comments on commit 8d0c107

Please sign in to comment.