Class: Elabs::Member::AlbumsController

Inherits:
MemberContentApplicationController show all
Defined in:
app/controllers/elabs/member/albums_controller.rb

Constant Summary collapse

ALLOWED_FIELDS =
%i[name description sfw published hidden_in_history language_id license_id tags_list minor_update update_description].freeze
ALLOWED_RELATIONS =
{ project_ids: [], upload_ids: [] }.freeze
MODEL =
Album
PLURAL_NAME =
'albums'.freeze
SINGULAR_NAME =
'album'.freeze

Constants inherited from MemberContentApplicationController

MemberContentApplicationController::DEFAULT_ORDER_FIELD

Constants inherited from MemberApplicationController

MemberApplicationController::DEFAULT_ORDER_FIELD, MemberApplicationController::MAX_ITEMS_PER_PAGE

Method Summary

Methods inherited from MemberContentApplicationController

#create, #destroy, #edit, #index, #new, #toggle_publication, #update