aboutsummaryrefslogtreecommitdiffstats
path: root/guides/CHANGELOG.md
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2016-02-13 22:18:22 -0500
committerJon Moss <me@jonathanmoss.me>2016-02-22 20:30:18 -0500
commitcd8bb8b6ce96cbfbade45cd5845e5862adf21125 (patch)
tree880039053dd4da6549b264b0ace6a9f6f1501c54 /guides/CHANGELOG.md
parente7299497871e20c3a28516a4e84fe1789c8795a8 (diff)
downloadrails-cd8bb8b6ce96cbfbade45cd5845e5862adf21125.tar.gz
rails-cd8bb8b6ce96cbfbade45cd5845e5862adf21125.tar.bz2
rails-cd8bb8b6ce96cbfbade45cd5845e5862adf21125.zip
Add `internal` attribute to routes
This is meant to provide a way for Action Cable, Sprockets, and possibly other Rack applications to mark themselves as internal, and to exclude themselves from the routing inspector, and thus `rails routes` / `rake routes`. I think this is the only way to have mounted Rack apps be marked as internal, within AD/Journey. Another option would be to create an array of regexes for internal apps, and then to iterate over that everytime a request comes through. Also, I only had the first `add_route` method set `internal`'s default to false, to avoid littering it all over the codebase.
Diffstat (limited to 'guides/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions