Sha256: 321bbe2ee15041a15af6eb7a64e78465c15ed831729fda8c05d24e5af393305f
Contents?: true
Size: 778 Bytes
Versions: 16
Compression:
Stored size: 778 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 match "/*path" => "error#no_such_page" end Rails.application.routes.draw do mount Burp::Engine => "/burp" match '/:path' => 'burp::catch_all#show', :constraints => { :path => /.*/ } end
Version data entries
16 entries across 16 versions & 1 rubygems