1 Pettanr::Application.routes.draw do
5 devise_for :demand_users
7 Pettanr::Application.manifest.system_resources.license_groups.each do |klass, name|
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}"
36 resources :scroll_panels do
92 resources :story_sheets do
133 resources :sheet_panels do
178 resources :panel_pictures do
195 resources :speech_balloons do
212 resources :balloons do
218 #get :by_system_picture
221 resources :speeches do
227 get :by_writing_format
230 resources :ground_pictures do
246 resources :ground_colors do
262 resources :original_pictures do
278 resources :pictures do
290 resources :resource_pictures do
300 get :by_license_group
306 resources :speech_balloon_templates do
314 get :by_system_picture
318 resources :writing_formats do
325 get :by_system_picture
328 resources :license_groups do
338 resources :licenses do
345 get :resource_pictures
346 get :by_license_group
347 get :by_system_picture
350 resources :authors do
378 resources :artists do
389 get :resource_pictures
395 resources :system_pictures do
402 get :speech_balloon_templates
407 resources :original_picture_license_groups do
415 resources :provider_sources do
425 resources :providers do
436 resources :provider_statuses do
447 post :licenses_import
449 post :original_pictures_import
453 resources :demanders do
466 get :original_pictures_export
476 resources :demander_statuses do
489 # The priority is based upon order of creation:
490 # first created -> highest priority.
492 # Sample of regular route:
493 # match 'products/:id' => 'catalog#view'
494 # Keep in mind you can assign values other than :controller and :action
495 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
496 match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
497 #match 'scroll_panels/scroll/:id(.:format)' => 'scroll_panels#scroll'
498 match 'top/(:action)', :controller => 'top'
499 match 'home/(:action)', :controller => 'home'
500 match 'system/(:action)', :controller => 'system'
501 #match 'authors/(:action(/:id))', :controller => 'authors'
503 # Sample of named route:
504 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
505 # This route can be invoked with purchase_url(:id => product.id)
507 # Sample resource route (maps HTTP verbs to controller actions automatically):
508 # resources :products
510 # Sample resource route with options:
511 # resources :products do
522 # Sample resource route with sub-resources:
523 # resources :products do
524 # resources :comments, :sales
528 # Sample resource route with more complex sub-resources
529 # resources :products do
530 # resources :comments
531 # resources :sales do
532 # get 'recent', :on => :collection
536 # Sample resource route within a namespace:
537 # namespace :admin do
538 # # Directs /admin/products/* to Admin::ProductsController
539 # # (app/controllers/admin/products_controller.rb)
540 # resources :products
543 # You can have the root of your site routed with "root"
544 # just remember to delete public/index.html.
545 root :to => 'top#index'
547 # See how all your routes lay out with "rake routes"
549 # This is a legacy wild controller route that's not recommended for RESTful applications.
550 # Note: This route will make all actions in every controller accessible via GET requests.
551 match ':controller(/:action(/:id(.:format)))'