diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-10-26 15:25:02 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-10-26 15:25:45 -0200 |
commit | 3b50fb6b2f413b4bfe638b3c9839fe7db5077f73 (patch) | |
tree | 5fd114c1d762796fba7bd87bbfbe243aa44c5e05 /actionpack/lib/action_dispatch/journey/route.rb | |
parent | ec4aaccb1b9fdc60aa6ab5bb417e915165f772fa (diff) | |
download | rails-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.rb | 8 |
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 |