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}"
60 get :resource_pictures
100 resources :story_sheets do
136 resources :sheet_panels do
153 resources :scrolls do
172 resources :scroll_panels do
208 resources :panel_pictures do
225 resources :speech_balloons do
242 resources :balloons do
252 resources :speeches do
262 resources :ground_colors do
277 resources :ground_pictures do
292 resources :original_pictures do
310 resources :resource_pictures do
325 resources :pictures do
337 resources :speech_balloon_templates do
348 resources :licenses do
359 resources :license_groups do
370 resources :original_picture_license_groups do
378 resources :system_pictures do
389 resources :provider_sources do
399 resources :providers do
410 resources :provider_statuses do
421 post :licenses_import
423 post :original_pictures_import
427 resources :demanders do
440 get :original_pictures_export
450 resources :demander_statuses do
463 # The priority is based upon order of creation:
464 # first created -> highest priority.
466 # Sample of regular route:
467 # match 'products/:id' => 'catalog#view'
468 # Keep in mind you can assign values other than :controller and :action
469 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
470 match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
471 #match 'scroll_panels/scroll/:id(.:format)' => 'scroll_panels#scroll'
472 match 'top/(:action)', :controller => 'top'
473 match 'home/(:action)', :controller => 'home'
474 match 'system/(:action)', :controller => 'system'
475 #match 'authors/(:action(/:id))', :controller => 'authors'
477 # Sample of named route:
478 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
479 # This route can be invoked with purchase_url(:id => product.id)
481 # Sample resource route (maps HTTP verbs to controller actions automatically):
482 # resources :products
484 # Sample resource route with options:
485 # resources :products do
496 # Sample resource route with sub-resources:
497 # resources :products do
498 # resources :comments, :sales
502 # Sample resource route with more complex sub-resources
503 # resources :products do
504 # resources :comments
505 # resources :sales do
506 # get 'recent', :on => :collection
510 # Sample resource route within a namespace:
511 # namespace :admin do
512 # # Directs /admin/products/* to Admin::ProductsController
513 # # (app/controllers/admin/products_controller.rb)
514 # resources :products
517 # You can have the root of your site routed with "root"
518 # just remember to delete public/index.html.
519 root :to => 'top#index'
521 # See how all your routes lay out with "rake routes"
523 # This is a legacy wild controller route that's not recommended for RESTful applications.
524 # Note: This route will make all actions in every controller accessible via GET requests.
525 match ':controller(/:action(/:id(.:format)))'