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
121 resources :comics do #, except: [:new, :edit]
135 resources :licenses do
143 resources :original_licenses do
159 resources :common_licenses do
172 resources :system_pictures do
186 # The priority is based upon order of creation:
187 # first created -> highest priority.
189 # Sample of regular route:
190 # match 'products/:id' => 'catalog#view'
191 # Keep in mind you can assign values other than :controller and :action
192 match 'comics/:id(.:format)/play' => 'comics#play'
193 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
194 match 'home/(:action)', :controller => 'home'
195 match 'help/(:action)', :controller => 'help'
196 match 'system/(:action)', :controller => 'system'
197 match 'authors/(:action(/:id))', :controller => 'authors'
198 # controller 'system' do
201 ## match 'start', :to => 'system#start'
204 # Sample of named route:
205 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
206 # This route can be invoked with purchase_url(:id => product.id)
208 # Sample resource route (maps HTTP verbs to controller actions automatically):
209 # resources :products
211 # Sample resource route with options:
212 # resources :products do
223 # Sample resource route with sub-resources:
224 # resources :products do
225 # resources :comments, :sales
229 # Sample resource route with more complex sub-resources
230 # resources :products do
231 # resources :comments
232 # resources :sales do
233 # get 'recent', :on => :collection
237 # Sample resource route within a namespace:
238 # namespace :admin do
239 # # Directs /admin/products/* to Admin::ProductsController
240 # # (app/controllers/admin/products_controller.rb)
241 # resources :products
244 # You can have the root of your site routed with "root"
245 # just remember to delete public/index.html.
246 root :to => 'comics#top'
248 # See how all your routes lay out with "rake routes"
250 # This is a legacy wild controller route that's not recommended for RESTful applications.
251 # Note: This route will make all actions in every controller accessible via GET requests.
252 #match ':controller(/:action(/:id(.:format)))'