aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-08-09 23:30:08 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-08-09 23:30:08 -0300
commit8d0c107a60a5f240c7a6e9caee4ad10cff8fe63e (patch)
tree6555448b5f198c9b877bf32480ad10772e732f12
parent09e1689252eed120ca1646926fd2324fb5097917 (diff)
downloadrails-8d0c107a60a5f240c7a6e9caee4ad10cff8fe63e.tar.gz
rails-8d0c107a60a5f240c7a6e9caee4ad10cff8fe63e.tar.bz2
rails-8d0c107a60a5f240c7a6e9caee4ad10cff8fe63e.zip
Remove wrong comment
This method raises conditionally not always so we should not documment as it always raise.
-rw-r--r--actionpack/lib/action_dispatch/routing/route_set.rb1
1 files changed, 0 insertions, 1 deletions
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