Class: Elabs::Member::ArticlesController
- Inherits:
-
MemberContentApplicationController
- Object
- ActionController::Base
- ElabsApplicationController
- MemberApplicationController
- MemberContentApplicationController
- Elabs::Member::ArticlesController
- Defined in:
- app/controllers/elabs/member/articles_controller.rb
Constant Summary collapse
- ALLOWED_FIELDS =
i[title excerpt content sfw published published_at hidden_in_history license_id language_id ].freeze
- ALLOWED_RELATIONS =
{ project_ids: [] }.freeze
- MODEL =
Article
- PLURAL_NAME =
'articles'.freeze
- SINGULAR_NAME =
'article'.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