Class: CatalogController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- CatalogController
- Includes:
- Hydra::Catalog, Hydra::Controller::ControllerBehavior
- Defined in:
- lib/generators/hyrax/templates/catalog_controller.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#render_bookmarks_control? ⇒ Boolean
disable the bookmark control from displaying in gallery view Hyrax doesn’t show any of the default controls on the list view, so this method is not called in that context.
Class Method Details
.modified_field ⇒ Object
13 14 15 |
# File 'lib/generators/hyrax/templates/catalog_controller.rb', line 13 def self.modified_field "system_modified_dtsi" end |
.uploaded_field ⇒ Object
9 10 11 |
# File 'lib/generators/hyrax/templates/catalog_controller.rb', line 9 def self.uploaded_field "system_create_dtsi" end |
Instance Method Details
#render_bookmarks_control? ⇒ Boolean
disable the bookmark control from displaying in gallery view Hyrax doesn’t show any of the default controls on the list view, so this method is not called in that context.
294 295 296 |
# File 'lib/generators/hyrax/templates/catalog_controller.rb', line 294 def render_bookmarks_control? false end |