Class: CollectionsController

Inherits:
AtriumBaseController show all
Defined in:
lib/generators/atrium/install/templates/controllers/collections_controller.rb

Overview

TODO: Move to generator

Instance Method Summary collapse

Methods included from SolrHelper

#__initialize_collection, #get_current_browse_level, #get_exhibit_navigation_data

Methods included from CollectionsHelper

#prepare_extra_controller_params_for_asset_query

Methods included from Atrium::CollectionsHelper

#get_saved_items, #get_saved_search, #saved_searches_for_select

Methods included from Atrium::ApplicationHelper

#application_name

Methods included from ApplicationHelper

#application_name, #breadcrumb_builder, #breadcrumb_links, #collection_title, #if_browsing_facet?, #in_collection_context?, #in_unscoped_catalog_search?

Methods included from NavigationHelper

#add_browse_facet_params, #get_browse_facet_path, #get_selected_browse_facet_path, #get_selected_browse_facets, #remove_related_facet_params

Methods included from Atrium::ShowcasesHelper

#facet_element, #get_parent_path, #get_showcase_parent_edit_path, #get_showcase_parent_show_path, #render_showcase_facet_selection

Instance Method Details

#browseObject



8
9
10
# File 'lib/generators/atrium/install/templates/controllers/collections_controller.rb', line 8

def browse
  @showcases=find_showcases
end

#showObject



4
5
6
# File 'lib/generators/atrium/install/templates/controllers/collections_controller.rb', line 4

def show
  @showcases=find_showcases
end