1 Pettanr::Application.routes.draw do
5 devise_for :demand_users
7 Pettanr::Application.manifest.system_resources.licenses.each do |name, klass|
8 mount Module.const_get(klass)::Engine => "/#{name}"
10 Pettanr::Application.manifest.system_resources.speech_balloon_templates.each do |klass , name|
11 mount Module.const_get(klass)::Engine => "/#{name}"
60 get :resource_pictures
106 resources :story_sheets do
151 resources :sheet_panels do
170 resources :scrolls do
193 resources :scroll_panels do
234 resources :panel_pictures do
251 resources :speech_balloons do
268 resources :balloons do
278 resources :speeches do
288 resources :ground_colors do
303 resources :ground_pictures do
318 resources :original_pictures do
336 resources :resource_pictures do
353 resources :pictures do
365 resources :speech_balloon_templates do
372 get :by_system_picture
379 resources :writing_formats do
386 get :by_system_picture
391 resources :licenses do
402 resources :license_groups do
413 resources :original_picture_license_groups do
421 resources :system_pictures do
432 resources :provider_sources do
442 resources :providers do
453 resources :provider_statuses do
464 post :licenses_import
466 post :original_pictures_import
470 resources :demanders do
483 get :original_pictures_export
493 resources :demander_statuses do
506 # The priority is based upon order of creation:
507 # first created -> highest priority.
509 # Sample of regular route:
510 # match 'products/:id' => 'catalog#view'
511 # Keep in mind you can assign values other than :controller and :action
512 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
513 match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
514 #match 'scroll_panels/scroll/:id(.:format)' => 'scroll_panels#scroll'
515 match 'top/(:action)', :controller => 'top'
516 match 'home/(:action)', :controller => 'home'
517 match 'system/(:action)', :controller => 'system'
518 #match 'authors/(:action(/:id))', :controller => 'authors'
520 # Sample of named route:
521 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
522 # This route can be invoked with purchase_url(:id => product.id)
524 # Sample resource route (maps HTTP verbs to controller actions automatically):
525 # resources :products
527 # Sample resource route with options:
528 # resources :products do
539 # Sample resource route with sub-resources:
540 # resources :products do
541 # resources :comments, :sales
545 # Sample resource route with more complex sub-resources
546 # resources :products do
547 # resources :comments
548 # resources :sales do
549 # get 'recent', :on => :collection
553 # Sample resource route within a namespace:
554 # namespace :admin do
555 # # Directs /admin/products/* to Admin::ProductsController
556 # # (app/controllers/admin/products_controller.rb)
557 # resources :products
560 # You can have the root of your site routed with "root"
561 # just remember to delete public/index.html.
562 root :to => 'top#index'
564 # See how all your routes lay out with "rake routes"
566 # This is a legacy wild controller route that's not recommended for RESTful applications.
567 # Note: This route will make all actions in every controller accessible via GET requests.
568 match ':controller(/:action(/:id(.:format)))'