1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00
paloma/test_app/config/routes.rb
2015-04-25 17:21:02 +08:00

23 lines
419 B
Ruby

TestApp::Application.routes.draw do
mount JasmineRails::Engine => "/specs" if defined?(JasmineRails)
root :to => 'main#index'
resources :main, :controller => 'Main' do
collection do
get :prevent
get :basic_params
get :json_response
get :js_response
get :xml_response
get :file_response
get :ajax
end
end
namespace :admin do
resources :foos
end
end