1 Pettanr::Application.routes.draw do
3 devise_for :users , :controllers => { :registrations => "user_registrations" }
6 match 'original_pictures/:id(.:format)/refresh' => 'original_pictures#refresh'
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 :resource_pictures do
92 resources :original_pictures do
109 resources :original_picture_license_groups do
115 resources :standard_licenses do
135 resources :stories do
150 resources :comics do #, except: [:new, :edit]
167 resources :licenses do
175 resources :license_groups do
183 resources :original_licenses do
199 resources :common_licenses do
212 resources :system_pictures do
226 # The priority is based upon order of creation:
227 # first created -> highest priority.
229 # Sample of regular route:
230 # match 'products/:id' => 'catalog#view'
231 # Keep in mind you can assign values other than :controller and :action
232 match 'comics/:id(.:format)/play' => 'comics#play'
233 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
234 match 'home/(:action)', :controller => 'home'
235 match 'help/(:action)', :controller => 'help'
236 match 'system/(:action)', :controller => 'system'
237 match 'authors/(:action(/:id))', :controller => 'authors'
238 # controller 'system' do
241 ## match 'start', :to => 'system#start'
244 # Sample of named route:
245 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
246 # This route can be invoked with purchase_url(:id => product.id)
248 # Sample resource route (maps HTTP verbs to controller actions automatically):
249 # resources :products
251 # Sample resource route with options:
252 # resources :products do
263 # Sample resource route with sub-resources:
264 # resources :products do
265 # resources :comments, :sales
269 # Sample resource route with more complex sub-resources
270 # resources :products do
271 # resources :comments
272 # resources :sales do
273 # get 'recent', :on => :collection
277 # Sample resource route within a namespace:
278 # namespace :admin do
279 # # Directs /admin/products/* to Admin::ProductsController
280 # # (app/controllers/admin/products_controller.rb)
281 # resources :products
284 # You can have the root of your site routed with "root"
285 # just remember to delete public/index.html.
286 root :to => 'comics#top'
288 # See how all your routes lay out with "rake routes"
290 # This is a legacy wild controller route that's not recommended for RESTful applications.
291 # Note: This route will make all actions in every controller accessible via GET requests.
292 #match ':controller(/:action(/:id(.:format)))'