Sha256: 542175aea6b49f313c684d06ee7e43e7cb14a199b2e960a75b527f7028e60cbb
Contents?: true
Size: 795 Bytes
Versions: 9
Compression:
Stored size: 795 Bytes
Contents
Burp::Engine.routes.draw do get "/" => "static#index" get "/help" => "static#help" resources :files get "/files/" => "files#index" post "/files/" => "files#create" get "/files/*id" => "files#show" delete "/files/*id" => "files#destroy" resources :pages get "/pages/*id/edit" => "pages#edit", :id => /.+/ get "/pages/*id" => "pages#show", :id => /.+/ put "/pages/*id" => "pages#update", :id => /.+/ delete "/pages/*id" => "pages#destroy", :id => /.+/ resources :menus do resources :groups resources :links end # Catch all to 404 error get "/*path" => "error#no_such_page" end Rails.application.routes.draw do mount Burp::Engine => "/burp", :as => "burp_engine" get '/:path' => 'burp/catch_all#show', :constraints => { :path => /.*/ } end
Version data entries
9 entries across 9 versions & 1 rubygems