aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/journey/route.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-26 15:25:02 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2016-10-26 15:25:45 -0200
commit3b50fb6b2f413b4bfe638b3c9839fe7db5077f73 (patch)
tree5fd114c1d762796fba7bd87bbfbe243aa44c5e05 /actionpack/lib/action_dispatch/journey/route.rb
parentec4aaccb1b9fdc60aa6ab5bb417e915165f772fa (diff)
downloadrails-3b50fb6b2f413b4bfe638b3c9839fe7db5077f73.tar.gz
rails-3b50fb6b2f413b4bfe638b3c9839fe7db5077f73.tar.bz2
rails-3b50fb6b2f413b4bfe638b3c9839fe7db5077f73.zip
Remove all Journey constant from public API
There were never public API only there by mistake. [ci skip]
Diffstat (limited to 'actionpack/lib/action_dispatch/journey/route.rb')
-rw-r--r--actionpack/lib/action_dispatch/journey/route.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/actionpack/lib/action_dispatch/journey/route.rb b/actionpack/lib/action_dispatch/journey/route.rb
index a9713ff292..79cd010d64 100644
--- a/actionpack/lib/action_dispatch/journey/route.rb
+++ b/actionpack/lib/action_dispatch/journey/route.rb
@@ -1,6 +1,7 @@
module ActionDispatch
- module Journey # :nodoc:
- class Route # :nodoc:
+ # :stopdoc:
+ module Journey
+ class Route
attr_reader :app, :path, :defaults, :name, :precedence
attr_reader :constraints, :internal
@@ -80,7 +81,7 @@ module ActionDispatch
end
end
- def requirements # :nodoc:
+ def requirements
# needed for rails `rails routes`
@defaults.merge(path.requirements).delete_if { |_,v|
/.+?/ == v
@@ -176,4 +177,5 @@ module ActionDispatch
end
end
end
+ # :startdoc:
end