1 Pettanr::Application.routes.draw do
3 devise_for :users, :controllers => { :registrations => "user_registrations" }
6 match 'original_pictures/:id(.:format)/refresh' => 'original_pictures#refresh'
34 resources :speaches do
44 resources :balloons do
54 resources :speach_templates do
64 resources :balloon_templates do
74 resources :speach_balloons do
87 resources :panel_pictures do
97 resources :resource_pictures do
107 resources :original_pictures do
135 resources :comics do #, except: [:new, :edit]
148 resources :licenses do
156 resources :original_licenses do
171 resources :common_licenses do
184 resources :system_pictures do
198 # The priority is based upon order of creation:
199 # first created -> highest priority.
201 # Sample of regular route:
202 # match 'products/:id' => 'catalog#view'
203 # Keep in mind you can assign values other than :controller and :action
204 match 'comics/:id(.:format)/play' => 'comics#play'
205 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
206 match 'home/(:action)', :controller => 'home'
207 match 'help/(:action)', :controller => 'help'
208 match 'system/(:action)', :controller => 'system'
209 match 'authors/(:action(/:id))', :controller => 'authors'
210 # controller 'system' do
213 ## match 'start', :to => 'system#start'
216 # Sample of named route:
217 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
218 # This route can be invoked with purchase_url(:id => product.id)
220 # Sample resource route (maps HTTP verbs to controller actions automatically):
221 # resources :products
223 # Sample resource route with options:
224 # resources :products do
235 # Sample resource route with sub-resources:
236 # resources :products do
237 # resources :comments, :sales
241 # Sample resource route with more complex sub-resources
242 # resources :products do
243 # resources :comments
244 # resources :sales do
245 # get 'recent', :on => :collection
249 # Sample resource route within a namespace:
250 # namespace :admin do
251 # # Directs /admin/products/* to Admin::ProductsController
252 # # (app/controllers/admin/products_controller.rb)
253 # resources :products
256 # You can have the root of your site routed with "root"
257 # just remember to delete public/index.html.
258 root :to => 'comics#top'
260 # See how all your routes lay out with "rake routes"
262 # This is a legacy wild controller route that's not recommended for RESTful applications.
263 # Note: This route will make all actions in every controller accessible via GET requests.
264 #match ':controller(/:action(/:id(.:format)))'