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 :license_groups do
151 resources :original_licenses do
167 resources :common_licenses do
180 resources :system_pictures do
194 # The priority is based upon order of creation:
195 # first created -> highest priority.
197 # Sample of regular route:
198 # match 'products/:id' => 'catalog#view'
199 # Keep in mind you can assign values other than :controller and :action
200 match 'comics/:id(.:format)/play' => 'comics#play'
201 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
202 match 'home/(:action)', :controller => 'home'
203 match 'help/(:action)', :controller => 'help'
204 match 'system/(:action)', :controller => 'system'
205 match 'authors/(:action(/:id))', :controller => 'authors'
206 # controller 'system' do
209 ## match 'start', :to => 'system#start'
212 # Sample of named route:
213 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
214 # This route can be invoked with purchase_url(:id => product.id)
216 # Sample resource route (maps HTTP verbs to controller actions automatically):
217 # resources :products
219 # Sample resource route with options:
220 # resources :products do
231 # Sample resource route with sub-resources:
232 # resources :products do
233 # resources :comments, :sales
237 # Sample resource route with more complex sub-resources
238 # resources :products do
239 # resources :comments
240 # resources :sales do
241 # get 'recent', :on => :collection
245 # Sample resource route within a namespace:
246 # namespace :admin do
247 # # Directs /admin/products/* to Admin::ProductsController
248 # # (app/controllers/admin/products_controller.rb)
249 # resources :products
252 # You can have the root of your site routed with "root"
253 # just remember to delete public/index.html.
254 root :to => 'comics#top'
256 # See how all your routes lay out with "rake routes"
258 # This is a legacy wild controller route that's not recommended for RESTful applications.
259 # Note: This route will make all actions in every controller accessible via GET requests.
260 #match ':controller(/:action(/:id(.:format)))'