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 :speaches do
46 resources :balloons do
56 resources :speach_templates do
66 resources :balloon_templates do
76 resources :speach_balloons do
89 resources :panel_pictures do
99 resources :resource_pictures do
110 resources :original_pictures do
139 resources :comics do #, except: [:new, :edit]
153 resources :licenses do
161 resources :original_licenses do
176 resources :common_licenses do
189 resources :system_pictures do
203 # The priority is based upon order of creation:
204 # first created -> highest priority.
206 # Sample of regular route:
207 # match 'products/:id' => 'catalog#view'
208 # Keep in mind you can assign values other than :controller and :action
209 match 'comics/:id(.:format)/play' => 'comics#play'
210 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
211 match 'home/(:action)', :controller => 'home'
212 match 'help/(:action)', :controller => 'help'
213 match 'system/(:action)', :controller => 'system'
214 match 'authors/(:action(/:id))', :controller => 'authors'
215 # controller 'system' do
218 ## match 'start', :to => 'system#start'
221 # Sample of named route:
222 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
223 # This route can be invoked with purchase_url(:id => product.id)
225 # Sample resource route (maps HTTP verbs to controller actions automatically):
226 # resources :products
228 # Sample resource route with options:
229 # resources :products do
240 # Sample resource route with sub-resources:
241 # resources :products do
242 # resources :comments, :sales
246 # Sample resource route with more complex sub-resources
247 # resources :products do
248 # resources :comments
249 # resources :sales do
250 # get 'recent', :on => :collection
254 # Sample resource route within a namespace:
255 # namespace :admin do
256 # # Directs /admin/products/* to Admin::ProductsController
257 # # (app/controllers/admin/products_controller.rb)
258 # resources :products
261 # You can have the root of your site routed with "root"
262 # just remember to delete public/index.html.
263 root :to => 'comics#top'
265 # See how all your routes lay out with "rake routes"
267 # This is a legacy wild controller route that's not recommended for RESTful applications.
268 # Note: This route will make all actions in every controller accessible via GET requests.
269 #match ':controller(/:action(/:id(.:format)))'