1 Pettanr::Application.routes.draw do
4 devise_for :authors, :controllers => { :registrations => "author_registrations" }
6 match 'original_pictures/:id(.:format)/refresh' => 'original_pictures#refresh'
21 resources :speaches do
31 resources :balloons do
41 resources :speach_templates do
51 resources :balloon_templates do
61 resources :speach_balloons do
74 resources :panel_pictures do
84 resources :resource_pictures do
94 resources :original_pictures do
122 resources :comics do #, except: [:new, :edit]
135 resources :licenses do
143 resources :original_licenses do
158 resources :common_licenses do
171 resources :system_pictures do
185 # The priority is based upon order of creation:
186 # first created -> highest priority.
188 # Sample of regular route:
189 # match 'products/:id' => 'catalog#view'
190 # Keep in mind you can assign values other than :controller and :action
191 match 'comics/:id(.:format)/play' => 'comics#play'
192 match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
193 match 'home/(:action)', :controller => 'home'
194 match 'help/(:action)', :controller => 'help'
195 match 'system/(:action)', :controller => 'system'
196 match 'authors/(:action(/:id))', :controller => 'authors'
197 # controller 'system' do
200 ## match 'start', :to => 'system#start'
203 # Sample of named route:
204 # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
205 # This route can be invoked with purchase_url(:id => product.id)
207 # Sample resource route (maps HTTP verbs to controller actions automatically):
208 # resources :products
210 # Sample resource route with options:
211 # resources :products do
222 # Sample resource route with sub-resources:
223 # resources :products do
224 # resources :comments, :sales
228 # Sample resource route with more complex sub-resources
229 # resources :products do
230 # resources :comments
231 # resources :sales do
232 # get 'recent', :on => :collection
236 # Sample resource route within a namespace:
237 # namespace :admin do
238 # # Directs /admin/products/* to Admin::ProductsController
239 # # (app/controllers/admin/products_controller.rb)
240 # resources :products
243 # You can have the root of your site routed with "root"
244 # just remember to delete public/index.html.
245 root :to => 'comics#top'
247 # See how all your routes lay out with "rake routes"
249 # This is a legacy wild controller route that's not recommended for RESTful applications.
250 # Note: This route will make all actions in every controller accessible via GET requests.
251 #match ':controller(/:action(/:id(.:format)))'