Class: Atrium::CustomizationController
- Inherits:
-
BaseController
- Object
- ApplicationController
- BaseController
- Atrium::CustomizationController
- Defined in:
- app/controllers/atrium/customization_controller.rb
Instance Method Summary collapse
Methods included from DescriptionsHelper
Methods included from CollectionsHelper
#add_browse_facet_params, #browse_collection_link, #can_add_view_exhibit?, #edit_collection_link, #exhibit_scoped_to_items?, #get_browse_facet_path, #get_collection_id, #get_collections_list, #get_customize_page_path, #get_exhibit_set_number, #get_selected_browse_facet_path, #get_selected_browse_facets, #get_solr_documents_from_asset, #grouped_result_count, #remove_related_facet_params
Methods included from LayoutHelper
#collection_theme_if_present, #current_layout
Methods included from SolrHelper
#__initialize_collection, #add_exclude_fq_to_solr, #atrium_collection, #browse_collection_link, #browse_document_list, #browse_response, #current_extra_controller_params, #edit_collection_link, #exhibit, #exhibits, #get_collection_id, #get_current_filter_query_params, #get_exhibit_navigation_data, #grouped_result_count, #prepare_extra_controller_params_for_collection_query, #reset_extra_controller_params_after_collection_query
Methods included from AtriumHelperBehavior
#application_name, #extra_head_content, #facet_limit_for, #get_start_over_path, #javascript_includes, #link_back_to_catalog, #link_to_document, #render_constraints, #render_facet_limit, #save_collection_id_in_session, #save_exhibit_id_in_session, #set_edit_showcase_in_session, #stylesheet_links
Instance Method Details
#start ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'app/controllers/atrium/customization_controller.rb', line 2 def start session[:edit_showcase] = true respond_to do |format| format.html { redirect_to redirect_target} format.json { render :json => session[:edit_showcase] } end end |
#stop ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'app/controllers/atrium/customization_controller.rb', line 11 def stop session[:edit_showcase] = nil respond_to do |format| format.html { redirect_to redirect_target} format.json { render :json => session[:edit_showcase] } end end |