Class: Elabs::Member::NotesController

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

Constant Summary collapse

ALLOWED_FIELDS =
i[content sfw hidden_in_history published license_id language_id tags_list minor_update update_description].freeze
ALLOWED_RELATIONS =
{ project_ids: [] }.freeze
MODEL =
Note
PLURAL_NAME =
'notes'.freeze
SINGULAR_NAME =
'note'.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