1 Pettanr::Application.routes.draw do
5 devise_for :demand_users
7 Pettanr::Application.licenses.each do |name, klass|
8 mount Module.const_get(klass)::Engine => "/#{name}"
10 Pettanr::Application.speech_balloons.each do |klass , name|
11 mount Module.const_get(klass)::Engine => "/#{name}"
55 get :resource_pictures
113 resources :panel_pictures do
130 resources :speech_balloons do
147 resources :balloons do
157 resources :speeches do
167 resources :ground_colors do
182 resources :ground_pictures do
197 resources :original_pictures do
215 resources :resource_pictures do
230 resources :pictures do
242 resources :speech_balloon_templates do
253 resources :licenses do
264 resources :license_groups do
275 resources :original_picture_license_groups do
283 resources :system_pictures do
294 resources :provider_sources do
304 resources :providers do
315 resources :provider_statuses do
326 post :licenses_import
328 post :original_pictures_import
332 resources :demanders do
345 get :original_pictures_export
355 resources :demander_statuses do
368 # The priority is based upon order of creation:
369 # first created -> highest priority.
371 # Sample of regular route:
372 # match 'products/:id' => 'catalog#view'
373 # Keep in mind you can assign values other than :controller and :action
374 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
375 match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
376 #match 'stories/comic/:id(.:format)' => 'stories#comic'
377 match 'top/(:action)', :controller => 'top'
378 match 'home/(:action)', :controller => 'home'
379 match 'system/(:action)', :controller => 'system'
380 #match 'authors/(:action(/:id))', :controller => 'authors'
382 # Sample of named route:
383 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
384 # This route can be invoked with purchase_url(:id => product.id)
386 # Sample resource route (maps HTTP verbs to controller actions automatically):
387 # resources :products
389 # Sample resource route with options:
390 # resources :products do
401 # Sample resource route with sub-resources:
402 # resources :products do
403 # resources :comments, :sales
407 # Sample resource route with more complex sub-resources
408 # resources :products do
409 # resources :comments
410 # resources :sales do
411 # get 'recent', :on => :collection
415 # Sample resource route within a namespace:
416 # namespace :admin do
417 # # Directs /admin/products/* to Admin::ProductsController
418 # # (app/controllers/admin/products_controller.rb)
419 # resources :products
422 # You can have the root of your site routed with "root"
423 # just remember to delete public/index.html.
424 root :to => 'top#index'
426 # See how all your routes lay out with "rake routes"
428 # This is a legacy wild controller route that's not recommended for RESTful applications.
429 # Note: This route will make all actions in every controller accessible via GET requests.
430 match ':controller(/:action(/:id(.:format)))'