resources :pictures do
collection do
get :show
+ get :md5
end
member do
get :credit
collection do
get :index
get :show
+ get :history
post :create
get :list
get :browse
post :create
end
end
+ resources :colors do
+ collection do
+ get :index
+ end
+ member do
+ end
+ end
+ resources :panel_colors do
+ collection do
+ get :index
+ end
+ member do
+ end
+ end
+ resources :ground_colors do
+ collection do
+ get :index
+ end
+ member do
+ end
+ end
+ resources :ground_pictures do
+ collection do
+ get :index
+ end
+ member do
+ end
+ end
resources :panels do
new do
get :new
get :browse
end
end
- resources :original_licenses do
- collection do
- get :index
- get :show
- get :new
- post :create
- post :import
- get :list
- get :browse
- end
- member do
- get :edit
- put :update
- delete :destroy
- end
- end
- resources :common_licenses do
- collection do
- get :index
- get :show
- post :import
- get :list
- get :browse
- end
- member do
- put :update
- delete :destroy
- end
- end
resources :system_pictures do
collection do
get :index
# 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 'stories/comic/:id(.:format)' => 'stories#comic'
match 'home/(:action)', :controller => 'home'
- match 'help/(:action)', :controller => 'help'
match 'system/(:action)', :controller => 'system'
match 'authors/(:action(/:id))', :controller => 'authors'