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
112 resources :sheet_panels do
129 resources :scrolls do
148 resources :scroll_panels do
184 resources :panel_pictures do
201 resources :speech_balloons do
218 resources :balloons do
228 resources :speeches do
238 resources :ground_colors do
253 resources :ground_pictures do
268 resources :original_pictures do
286 resources :resource_pictures do
301 resources :pictures do
313 resources :speech_balloon_templates do
324 resources :licenses do
335 resources :license_groups do
346 resources :original_picture_license_groups do
354 resources :system_pictures do
365 resources :provider_sources do
375 resources :providers do
386 resources :provider_statuses do
397 post :licenses_import
399 post :original_pictures_import
403 resources :demanders do
416 get :original_pictures_export
426 resources :demander_statuses do
439 # The priority is based upon order of creation:
440 # first created -> highest priority.
442 # Sample of regular route:
443 # match 'products/:id' => 'catalog#view'
444 # Keep in mind you can assign values other than :controller and :action
445 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
446 match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
447 #match 'scroll_panels/scroll/:id(.:format)' => 'scroll_panels#scroll'
448 match 'top/(:action)', :controller => 'top'
449 match 'home/(:action)', :controller => 'home'
450 match 'system/(:action)', :controller => 'system'
451 #match 'authors/(:action(/:id))', :controller => 'authors'
453 # Sample of named route:
454 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
455 # This route can be invoked with purchase_url(:id => product.id)
457 # Sample resource route (maps HTTP verbs to controller actions automatically):
458 # resources :products
460 # Sample resource route with options:
461 # resources :products do
472 # Sample resource route with sub-resources:
473 # resources :products do
474 # resources :comments, :sales
478 # Sample resource route with more complex sub-resources
479 # resources :products do
480 # resources :comments
481 # resources :sales do
482 # get 'recent', :on => :collection
486 # Sample resource route within a namespace:
487 # namespace :admin do
488 # # Directs /admin/products/* to Admin::ProductsController
489 # # (app/controllers/admin/products_controller.rb)
490 # resources :products
493 # You can have the root of your site routed with "root"
494 # just remember to delete public/index.html.
495 root :to => 'top#index'
497 # See how all your routes lay out with "rake routes"
499 # This is a legacy wild controller route that's not recommended for RESTful applications.
500 # Note: This route will make all actions in every controller accessible via GET requests.
501 match ':controller(/:action(/:id(.:format)))'