Methods
Constants
| Routes | = | ActionDispatch::Routing::RouteSet.new.tap do |app| app.draw do ok = lambda { |env| [200, { 'Content-Type' => 'text/plain' }, []] } get "/*id" => redirect("/not_cars"), :constraints => {id: /dummy/} get "/cars" => ok end end |
| APP | = | build_app Routes |
include Routes.url_helpers |
||
Instance Public methods
app()
Link
test_glob_constraint()
Link
test_glob_constraint_skip_all()
Link