1 Pettanr::Application.routes.draw do
3 devise_for :users , :controllers => { :registrations => "user_registrations" }
6 match 'original_pictures/:id(.:format)/refresh' => 'original_pictures#refresh'
34 resources :speaches do
44 resources :balloons do
54 resources :speach_templates do
64 resources :balloon_templates do
74 resources :speach_balloons do
87 resources :panel_pictures do
97 resources :resource_pictures do
107 resources :original_pictures do
135 resources :comics do #, except: [:new, :edit]
149 resources :licenses do
157 resources :original_licenses do
172 resources :common_licenses do
185 resources :system_pictures do
199 # The priority is based upon order of creation:
200 # first created -> highest priority.
202 # Sample of regular route:
203 # match 'products/:id' => 'catalog#view'
204 # Keep in mind you can assign values other than :controller and :action
205 match 'comics/:id(.:format)/play' => 'comics#play'
206 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
207 match 'home/(:action)', :controller => 'home'
208 match 'help/(:action)', :controller => 'help'
209 match 'system/(:action)', :controller => 'system'
210 match 'authors/(:action(/:id))', :controller => 'authors'
211 # controller 'system' do
214 ## match 'start', :to => 'system#start'
217 # Sample of named route:
218 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
219 # This route can be invoked with purchase_url(:id => product.id)
221 # Sample resource route (maps HTTP verbs to controller actions automatically):
222 # resources :products
224 # Sample resource route with options:
225 # resources :products do
236 # Sample resource route with sub-resources:
237 # resources :products do
238 # resources :comments, :sales
242 # Sample resource route with more complex sub-resources
243 # resources :products do
244 # resources :comments
245 # resources :sales do
246 # get 'recent', :on => :collection
250 # Sample resource route within a namespace:
251 # namespace :admin do
252 # # Directs /admin/products/* to Admin::ProductsController
253 # # (app/controllers/admin/products_controller.rb)
254 # resources :products
257 # You can have the root of your site routed with "root"
258 # just remember to delete public/index.html.
259 root :to => 'comics#top'
261 # See how all your routes lay out with "rake routes"
263 # This is a legacy wild controller route that's not recommended for RESTful applications.
264 # Note: This route will make all actions in every controller accessible via GET requests.
265 #match ':controller(/:action(/:id(.:format)))'