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
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 :writing_formats do
358 resources :licenses do
369 resources :license_groups do
380 resources :original_picture_license_groups do
388 resources :system_pictures do
399 resources :provider_sources do
409 resources :providers do
420 resources :provider_statuses do
431 post :licenses_import
433 post :original_pictures_import
437 resources :demanders do
450 get :original_pictures_export
460 resources :demander_statuses do
473 # The priority is based upon order of creation:
474 # first created -> highest priority.
476 # Sample of regular route:
477 # match 'products/:id' => 'catalog#view'
478 # Keep in mind you can assign values other than :controller and :action
479 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
480 match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
481 #match 'scroll_panels/scroll/:id(.:format)' => 'scroll_panels#scroll'
482 match 'top/(:action)', :controller => 'top'
483 match 'home/(:action)', :controller => 'home'
484 match 'system/(:action)', :controller => 'system'
485 #match 'authors/(:action(/:id))', :controller => 'authors'
487 # Sample of named route:
488 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
489 # This route can be invoked with purchase_url(:id => product.id)
491 # Sample resource route (maps HTTP verbs to controller actions automatically):
492 # resources :products
494 # Sample resource route with options:
495 # resources :products do
506 # Sample resource route with sub-resources:
507 # resources :products do
508 # resources :comments, :sales
512 # Sample resource route with more complex sub-resources
513 # resources :products do
514 # resources :comments
515 # resources :sales do
516 # get 'recent', :on => :collection
520 # Sample resource route within a namespace:
521 # namespace :admin do
522 # # Directs /admin/products/* to Admin::ProductsController
523 # # (app/controllers/admin/products_controller.rb)
524 # resources :products
527 # You can have the root of your site routed with "root"
528 # just remember to delete public/index.html.
529 root :to => 'top#index'
531 # See how all your routes lay out with "rake routes"
533 # This is a legacy wild controller route that's not recommended for RESTful applications.
534 # Note: This route will make all actions in every controller accessible via GET requests.
535 match ':controller(/:action(/:id(.:format)))'