From 8d0c107a60a5f240c7a6e9caee4ad10cff8fe63e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sun, 9 Aug 2015 23:30:08 -0300 Subject: Remove wrong comment This method raises conditionally not always so we should not documment as it always raise. --- actionpack/lib/action_dispatch/routing/route_set.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'actionpack/lib/action_dispatch/routing') diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index b3e9489141..2fe61c7aa6 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -34,7 +34,6 @@ module ActionDispatch 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 -- cgit v1.2.3