1 Pettanr::Application.routes.draw do
6 match 'original_pictures/:id(.:format)/refresh' => 'original_pictures#refresh'
8 resources :artists, except: [:new, :edit]
9 resources :speaches, only: [:index]
10 resources :balloons, only: [:index]
11 resources :speach_templates, only: [:index]
12 resources :balloon_templates, only: [:index]
13 resources :speach_balloons, except: [:new, :edit]
14 resources :panel_pictures, only: [:index]
15 resources :resource_pictures, only: [:index, :show]
16 resources :original_pictures, except: [:new]
17 resources :panels, except: [:new, :edit]
18 resources :comics, except: [:new, :edit]
19 resources :lisences, only: [:index]
20 resources :original_lisences
21 resources :common_lisences
23 # The priority is based upon order of creation:
24 # first created -> highest priority.
26 # Sample of regular route:
27 # match 'products/:id' => 'catalog#view'
28 # Keep in mind you can assign values other than :controller and :action
29 match 'comics/:id(.:format)/play' => 'comics#play'
30 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
31 match 'home/(:action)', :controller => 'home'
32 match 'help/(:action)', :controller => 'help'
33 controller 'system' do
35 # match 'start', :to => 'system#start'
38 # Sample of named route:
39 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
40 # This route can be invoked with purchase_url(:id => product.id)
42 # Sample resource route (maps HTTP verbs to controller actions automatically):
45 # Sample resource route with options:
46 # resources :products do
57 # Sample resource route with sub-resources:
58 # resources :products do
59 # resources :comments, :sales
63 # Sample resource route with more complex sub-resources
64 # resources :products do
67 # get 'recent', :on => :collection
71 # Sample resource route within a namespace:
73 # # Directs /admin/products/* to Admin::ProductsController
74 # # (app/controllers/admin/products_controller.rb)
78 # You can have the root of your site routed with "root"
79 # just remember to delete public/index.html.
80 root :to => 'comics#top'
82 # See how all your routes lay out with "rake routes"
84 # This is a legacy wild controller route that's not recommended for RESTful applications.
85 # Note: This route will make all actions in every controller accessible via GET requests.
86 # match ':controller(/:action(/:id(.:format)))'