Class: Elabs::Member::UploadsController

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

Constant Summary collapse

ALLOWED_FIELDS =
%i[title description sfw published hidden_in_history language_id license_id file tags_list].freeze
ALLOWED_RELATIONS =
{ album_ids: [], project_ids: [] }.freeze
MODEL =
Upload
PLURAL_NAME =
'uploads'.freeze
SINGULAR_NAME =
'upload'.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