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
107 resources :original_picture_license_groups do
113 resources :standard_licenses do
133 resources :comics do #, except: [:new, :edit]
147 resources :licenses do
155 resources :license_groups do
163 resources :original_licenses do
179 resources :common_licenses do
192 resources :system_pictures do
206 # The priority is based upon order of creation:
207 # first created -> highest priority.
209 # Sample of regular route:
210 # match 'products/:id' => 'catalog#view'
211 # Keep in mind you can assign values other than :controller and :action
212 match 'comics/:id(.:format)/play' => 'comics#play'
213 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
214 match 'home/(:action)', :controller => 'home'
215 match 'help/(:action)', :controller => 'help'
216 match 'system/(:action)', :controller => 'system'
217 match 'authors/(:action(/:id))', :controller => 'authors'
218 # controller 'system' do
221 ## match 'start', :to => 'system#start'
224 # Sample of named route:
225 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
226 # This route can be invoked with purchase_url(:id => product.id)
228 # Sample resource route (maps HTTP verbs to controller actions automatically):
229 # resources :products
231 # Sample resource route with options:
232 # resources :products do
243 # Sample resource route with sub-resources:
244 # resources :products do
245 # resources :comments, :sales
249 # Sample resource route with more complex sub-resources
250 # resources :products do
251 # resources :comments
252 # resources :sales do
253 # get 'recent', :on => :collection
257 # Sample resource route within a namespace:
258 # namespace :admin do
259 # # Directs /admin/products/* to Admin::ProductsController
260 # # (app/controllers/admin/products_controller.rb)
261 # resources :products
264 # You can have the root of your site routed with "root"
265 # just remember to delete public/index.html.
266 root :to => 'comics#top'
268 # See how all your routes lay out with "rake routes"
270 # This is a legacy wild controller route that's not recommended for RESTful applications.
271 # Note: This route will make all actions in every controller accessible via GET requests.
272 #match ':controller(/:action(/:id(.:format)))'