Methods
- A
Included Modules
- Routes
Constants
| Routes | = | ActionDispatch::Routing::RouteSet.new.tap do |app| app.draw do match '/:segment' => lambda { |env| path_params = env['action_dispatch.request.path_parameters'] [200, { 'Content-Type' => 'text/plain' }, [path_params[:segment]]] }, :as => :segment match '/*splat' => lambda { |env| path_params = env['action_dispatch.request.path_parameters'] [200, { 'Content-Type' => 'text/plain' }, [path_params[:splat]]] }, :as => :splat end end |
Instance Public methods