\r
},\r
},\r
- scrolls: {\r
- type: 'list',\r
- args: {\r
- list_name: 'scrolls',\r
- },\r
- },\r
- comics: {\r
- type: 'list',\r
- args: {\r
- list_name: 'comics',\r
- },\r
- },\r
- stories: {\r
- type: 'list',\r
- args: {\r
- list_name: 'stories',\r
- },\r
- },\r
- sheets: {\r
- type: 'list',\r
- args: {\r
- list_name: 'sheets',\r
- },\r
- },\r
- panels: {\r
- type: 'list',\r
- args: {\r
- list_name: 'panels',\r
- },\r
- },\r
- panel_pictures: {\r
- type: 'list',\r
- args: {\r
- list_name: 'panel_pictures',\r
- },\r
- },\r
- speech_balloons: {\r
- type: 'list',\r
- args: {\r
- list_name: 'speech_balloons',\r
- },\r
- },\r
- ground_pictures: {\r
- type: 'list',\r
- args: {\r
- list_name: 'ground_pictures',\r
- },\r
- },\r
- ground_colors: {\r
- type: 'list',\r
- args: {\r
- list_name: 'ground_colors',\r
- },\r
- },\r
show: {\r
type: 'show',\r
},\r
\r
},\r
},\r
- resource_pictures: {\r
- type: 'list',\r
- args: {\r
- list_name: 'resource_pictures',\r
- },\r
- },\r
show: {\r
type: 'show',\r
},\r
by_speech_balloon: {\r
type: 'filter',\r
},\r
- by_writing_format: {\r
- type: 'filter',\r
- },\r
by_author: {\r
type: 'foreign_filter',\r
args: {\r
}, \r
},\r
story: {\r
+ columns: {\r
+ visible: {\r
+ type: 'source',\r
+ }, \r
+ },\r
column_names: [\r
'comic_id', \r
'title', \r
}, \r
},\r
sheet: {\r
+ columns: {\r
+ visible: {\r
+ type: 'source',\r
+ }, \r
+ },\r
column_names: [\r
'caption', \r
'width', \r
}, \r
},\r
panel: {\r
+ columns: {\r
+ publish: {\r
+ type: 'source',\r
+ }, \r
+ },\r
column_names: [\r
'width', \r
'height', \r
config.action_controller.perform_caching = true
# Disable Rails's static asset server (Apache or nginx will already do this)
-config.serve_static_assets = true # false
+ config.serve_static_assets = false
# Compress JavaScripts and CSS
config.assets.compress = true
collection do
get :index
get :show
+ get :count
post :create
end
member do
collection do
get :index
get :show
+ get :count
post :create
end
member do
collection do
get :index
get :show
+ get :count
end
member do
get :by_speech_balloon
collection do
get :index
get :show
+ get :count
end
member do
get :by_speech_balloon
collection do
get :index
get :show
+ get :count
end
member do
get :by_panel
collection do
get :index
get :show
+ get :count
end
member do
get :by_panel
post :create
end
member do
- 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 :scrolls_count
- get :scroll_panels_count
- get :comics_count
- get :stories_count
- get :story_sheets_count
- get :sheets_count
- get :sheet_panels_count
- get :panels_count
- get :panel_pictures_count
- get :speech_balloons_count
- get :ground_pictures_count
- get :ground_colors_count
get :edit
put :update
delete :destroy
post :create
end
member do
- get :resource_pictures
- get :resource_pictures_count
get :edit
put :update
delete :destroy