Sha256: f1d4bb3d2f613cd98dd5f056a46b974d82a9df65963dafeca85285044dd5fa88
Contents?: true
Size: 827 Bytes
Versions: 21
Compression:
Stored size: 827 Bytes
Contents
Burp::Engine.routes.draw do get "/" => "pages#index" get "/help" => "static#help" get "/about" => "static#about" 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
21 entries across 21 versions & 1 rubygems