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
77 resources :scroll_panels do
114 resources :panel_pictures do
131 resources :speech_balloons do
148 resources :balloons do
158 resources :speeches do
168 resources :ground_colors do
183 resources :ground_pictures do
198 resources :original_pictures do
216 resources :resource_pictures do
231 resources :pictures do
243 resources :speech_balloon_templates do
254 resources :licenses do
265 resources :license_groups do
276 resources :original_picture_license_groups do
284 resources :system_pictures do
295 resources :provider_sources do
305 resources :providers do
316 resources :provider_statuses do
327 post :licenses_import
329 post :original_pictures_import
333 resources :demanders do
346 get :original_pictures_export
356 resources :demander_statuses do
369 # The priority is based upon order of creation:
370 # first created -> highest priority.
372 # Sample of regular route:
373 # match 'products/:id' => 'catalog#view'
374 # Keep in mind you can assign values other than :controller and :action
375 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
376 match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
377 #match 'scroll_panels/scroll/:id(.:format)' => 'scroll_panels#scroll'
378 match 'top/(:action)', :controller => 'top'
379 match 'home/(:action)', :controller => 'home'
380 match 'system/(:action)', :controller => 'system'
381 #match 'authors/(:action(/:id))', :controller => 'authors'
383 # Sample of named route:
384 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
385 # This route can be invoked with purchase_url(:id => product.id)
387 # Sample resource route (maps HTTP verbs to controller actions automatically):
388 # resources :products
390 # Sample resource route with options:
391 # resources :products do
402 # Sample resource route with sub-resources:
403 # resources :products do
404 # resources :comments, :sales
408 # Sample resource route with more complex sub-resources
409 # resources :products do
410 # resources :comments
411 # resources :sales do
412 # get 'recent', :on => :collection
416 # Sample resource route within a namespace:
417 # namespace :admin do
418 # # Directs /admin/products/* to Admin::ProductsController
419 # # (app/controllers/admin/products_controller.rb)
420 # resources :products
423 # You can have the root of your site routed with "root"
424 # just remember to delete public/index.html.
425 root :to => 'top#index'
427 # See how all your routes lay out with "rake routes"
429 # This is a legacy wild controller route that's not recommended for RESTful applications.
430 # Note: This route will make all actions in every controller accessible via GET requests.
431 match ':controller(/:action(/:id(.:format)))'