devise_for :users , :controllers => { :registrations => "user_registrations" }
devise_for :admins
-
+
+ mount StandardLicenses::Engine => "/standard_licenses"
+
resources :authors do
collection do
get :index
member do
end
end
+ resources :pictures do
+ collection do
+ get :show
+ end
+ member do
+ get :credit
+ end
+ end
resources :resource_pictures do
collection do
get :index
get :browse
end
member do
+ get :credit
end
end
resources :original_pictures do
post :create
end
end
- resources :standard_licenses do
- new do
- get :new
- end
- collection do
- post :create
- end
- end
resources :panels do
new do
get :new
# match 'products/:id' => 'catalog#view'
# Keep in mind you can assign values other than :controller and :action
match 'resource_pictures/:subdir/:id(.:format)/' => 'resource_pictures#show'
+ match 'pictures/:subdir/:id(.:format)/' => 'pictures#show'
match 'home/(:action)', :controller => 'home'
match 'help/(:action)', :controller => 'help'
match 'system/(:action)', :controller => 'system'