devise_for :admins
devise_for :demand_users
- Pettanr::Application.licenses.each do |name, klass|
+ Pettanr::Application.manifest.system_resources.license_groups.each do |klass, name|
mount Module.const_get(klass)::Engine => "/#{name}"
end
- Pettanr::Application.speech_balloons.each do |klass , name|
+ Pettanr::Application.manifest.system_resources.speech_balloon_templates.each do |klass , name|
mount Module.const_get(klass)::Engine => "/#{name}"
end
- resources :authors do
+ resources :scrolls do
new do
get :new
end
get :show
get :count
post :create
- get :list
end
member do
+ get :scroll_panels
+ get :panels
+ get :by_author
+ get :by_panel
+ get :play
get :edit
put :update
delete :destroy
get :browse
- get :scrolls
- get :scroll_panels
- get :comics
- get :stories
- get :story_sheets
- get :sheets
- get :sheet_panels
- get :panels
- get :panel_pictures
- get :speech_balloons
- get :ground_pictures
- get :ground_colors
end
end
- resources :artists do
+ resources :scroll_panels do
new do
get :new
end
collection do
get :index
get :show
- get :count
post :create
- get :list
end
member do
+ get :by_panel
+ get :by_scroll
get :edit
put :update
delete :destroy
- get :browse
- get :resource_pictures
end
end
resources :comics do
get :show
get :count
post :create
- get :list
end
member do
+ get :stories
+ get :by_author
get :play
get :edit
put :update
delete :destroy
- get :browse
end
end
resources :stories do
get :index
get :show
post :create
- get :list
end
member do
+ get :story_sheets
+ get :sheets
+ get :by_sheet
+ get :by_author
get :play
get :edit
put :update
delete :destroy
- get :browse
end
end
resources :story_sheets do
get :index
get :show
post :create
- get :list
end
member do
+ get :by_story
+ get :by_sheet
get :edit
put :update
delete :destroy
- get :browse
end
end
resources :sheets do
get :show
get :count
post :create
- get :list
end
member do
+ get :story_sheets
+ get :stories
+ get :sheet_panels
+ get :panels
+ get :by_story
+ get :by_panel
+ get :by_author
get :play
get :edit
put :update
delete :destroy
- get :browse
end
end
resources :sheet_panels do
get :index
get :show
post :create
- get :list
end
member do
+ get :by_sheet
+ get :by_panel
get :edit
put :update
delete :destroy
- get :browse
- end
- end
- resources :scrolls do
- new do
- get :new
- end
- collection do
- get :index
- get :show
- get :count
- post :create
- get :list
- end
- member do
- get :play
- get :edit
- put :update
- delete :destroy
- get :browse
- end
- end
- resources :scroll_panels do
- new do
- get :new
- end
- collection do
- get :index
- get :show
- post :create
- get :list
- end
- member do
- get :edit
- put :update
- delete :destroy
- get :browse
end
end
resources :panels do
get :show
get :count
post :create
- get :list
end
member do
+ get :scroll_panels
+ get :scrolls
+ get :sheet_panels
+ get :sheets
+ get :panel_pictures
+ get :speech_balloons
+ get :ground_pictures
+ get :ground_colors
+ get :by_scroll
+ get :by_sheet
+ get :by_author
get :catch
get :edit
put :update
delete :destroy
- get :browse
end
end
resources :panel_pictures do
get :index
get :show
post :create
- get :list
end
member do
+ get :by_panel
+ get :by_author
get :edit
put :update
delete :destroy
- get :browse
end
end
resources :speech_balloons do
get :index
get :show
post :create
- get :list
end
member do
+ get :by_panel
+ get :by_author
get :edit
put :update
delete :destroy
- get :browse
end
end
resources :balloons do
collection do
get :index
get :show
- get :list
end
member do
- get :browse
+ get :by_speech_balloon
+ #get :by_system_picture
end
end
resources :speeches do
collection do
get :index
get :show
- get :list
end
member do
- get :browse
+ get :by_speech_balloon
+ get :by_writing_format
end
end
- resources :ground_colors do
+ resources :ground_pictures do
new do
get :new
end
get :show
end
member do
+ get :by_panel
+ get :by_author
get :edit
put :update
delete :destroy
- get :browse
end
end
- resources :ground_pictures do
+ resources :ground_colors do
new do
get :new
end
get :show
end
member do
+ get :by_panel
+ get :by_author
get :edit
put :update
delete :destroy
- get :browse
end
end
resources :original_pictures do
get :index
get :show
post :create
- get :list
end
member do
get :edit
put :update
delete :destroy
get :history
+ end
+ end
+ resources :pictures do
+ collection do
+ get :show
+ get :credit
+ get :search
+ get :list
+ end
+ member do
+ get :credit
get :browse
end
end
get :new
post :create
get :count
- get :list
end
member do
+ get :by_license
+ get :by_license_group
+ get :artist
delete :destroy
get :credit
- get :browse
end
end
- resources :pictures do
+ resources :speech_balloon_templates do
collection do
+ get :index
get :show
- get :credit
- get :search
- get :list
end
member do
- get :credit
- get :browse
+ get :speech_balloons
+ get :panels
+ get :by_system_picture
+ delete :destroy
end
end
- resources :speech_balloon_templates do
+ resources :writing_formats do
collection do
get :index
get :show
- get :list
end
member do
- get :browse
+ get :speeches
+ get :by_system_picture
+ end
+ end
+ resources :license_groups do
+ collection do
+ get :index
+ get :show
+ end
+ member do
+ get :licenses
delete :destroy
end
end
get :index
get :show
get :search
- get :list
end
member do
- get :browse
+ get :resource_pictures
+ get :by_license_group
+ get :by_system_picture
end
end
- resources :license_groups do
+ resources :authors do
+ new do
+ get :new
+ end
collection do
get :index
get :show
- get :list
+ get :count
+ post :create
end
member do
- get :browse
+ get :scrolls
+ get :scroll_panels
+ get :comics
+ get :stories
+ get :story_sheets
+ get :sheets
+ get :sheet_panels
+ get :panels
+ get :panel_pictures
+ get :speech_balloons
+ get :ground_pictures
+ get :ground_colors
+ get :edit
+ put :update
delete :destroy
end
end
- resources :original_picture_license_groups do
+ resources :artists do
new do
- post :new
+ get :new
end
collection do
+ get :index
+ get :show
+ get :count
post :create
end
+ member do
+ get :resource_pictures
+ get :edit
+ put :update
+ delete :destroy
+ end
end
resources :system_pictures do
collection do
get :index
get :show
- get :list
end
member do
- get :browse
+ #get :balloons
+ get :speech_balloon_templates
+ get :licenses
delete :destroy
end
end
+ resources :original_picture_license_groups do
+ new do
+ post :new
+ end
+ collection do
+ post :create
+ end
+ end
resources :provider_sources do
collection do
get :index