app/controllers/spotlight/sites_controller.rb in blacklight-spotlight-3.0.0.alpha.7 vs app/controllers/spotlight/sites_controller.rb in blacklight-spotlight-3.0.0.alpha.8

- old
+ new

@@ -6,12 +6,18 @@ class SitesController < Spotlight::ApplicationController before_action :authenticate_user! before_action :load_site load_and_authorize_resource - def edit; end + def edit + add_breadcrumb t(:'spotlight.sites.home'), root_url + add_breadcrumb t(:'spotlight.sites.edit.page_title') + end - def edit_exhibits; end + def edit_exhibits + add_breadcrumb t(:'spotlight.sites.home'), root_url + add_breadcrumb t(:'spotlight.sites.edit_exhibits.page_title') + end def update if @site.update(site_params) redirect_to exhibits_path, notice: t(:'helpers.submit.site.updated', model: @site.class.model_name.human.downcase) else