devise_for :users , :controllers => { :registrations => "user_registrations" }
devise_for :admins
- match 'original_pictures/:id(.:format)/refresh' => 'original_pictures#refresh'
-
resources :authors do
collection do
get :index
resources :resource_pictures do
collection do
get :index
- get :show
get :new
+ get :show
post :create
get :count
get :list
get :browse
end
+ member do
+ end
end
resources :original_pictures do
new do
end
end
resources :original_picture_license_groups do
- collection do
+ new do
get :new
+ end
+ collection do
post :create
end
end
resources :standard_licenses do
- collection do
+ new do
get :new
+ end
+ collection do
post :create
end
end
resources :panels do
+ new do
+ get :new
+ end
collection do
get :index
get :show
get :new
end
collection do
+ get :show
post :create
get :list
get :browse
end
member do
- get :show
put :update
delete :destroy
end
end
- resources :comics do #, except: [:new, :edit]
+ resources :comics do
new do
get :new
end
# Sample of regular route:
# match 'products/:id' => 'catalog#view'
# Keep in mind you can assign values other than :controller and :action
- match 'comics/:id(.:format)/play' => 'comics#play'
match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
match 'home/(:action)', :controller => 'home'
match 'help/(:action)', :controller => 'help'
match 'system/(:action)', :controller => 'system'
match 'authors/(:action(/:id))', :controller => 'authors'
-# controller 'system' do
-# get 'start'
-# get 'index'
-## match 'start', :to => 'system#start'
-# end
# Sample of named route:
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase