1 Pettanr::Application.routes.draw do
3 devise_for :users , :controllers => { :registrations => "user_registrations" }
6 mount StandardLicenses::Engine => "/standard_licenses"
36 resources :speech_balloon_templates do
47 resources :speeches do
55 resources :balloons do
63 resources :speech_balloons do
71 resources :panel_pictures do
81 resources :pictures do
89 resources :resource_pictures do
103 resources :original_pictures do
120 resources :original_picture_license_groups do
145 resources :stories do
177 resources :licenses do
185 resources :license_groups do
193 resources :original_licenses do
209 resources :common_licenses do
222 resources :system_pictures do
236 # The priority is based upon order of creation:
237 # first created -> highest priority.
239 # Sample of regular route:
240 # match 'products/:id' => 'catalog#view'
241 # Keep in mind you can assign values other than :controller and :action
242 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
243 match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
244 match 'home/(:action)', :controller => 'home'
245 match 'help/(:action)', :controller => 'help'
246 match 'system/(:action)', :controller => 'system'
247 match 'authors/(:action(/:id))', :controller => 'authors'
249 # Sample of named route:
250 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
251 # This route can be invoked with purchase_url(:id => product.id)
253 # Sample resource route (maps HTTP verbs to controller actions automatically):
254 # resources :products
256 # Sample resource route with options:
257 # resources :products do
268 # Sample resource route with sub-resources:
269 # resources :products do
270 # resources :comments, :sales
274 # Sample resource route with more complex sub-resources
275 # resources :products do
276 # resources :comments
277 # resources :sales do
278 # get 'recent', :on => :collection
282 # Sample resource route within a namespace:
283 # namespace :admin do
284 # # Directs /admin/products/* to Admin::ProductsController
285 # # (app/controllers/admin/products_controller.rb)
286 # resources :products
289 # You can have the root of your site routed with "root"
290 # just remember to delete public/index.html.
291 root :to => 'comics#top'
293 # See how all your routes lay out with "rake routes"
295 # This is a legacy wild controller route that's not recommended for RESTful applications.
296 # Note: This route will make all actions in every controller accessible via GET requests.
297 #match ':controller(/:action(/:id(.:format)))'