From 39519a4806b18b7ff9ef9cd4d956ba4e21792a82 Mon Sep 17 00:00:00 2001 From: Shaun Ellis Date: Mon, 1 Oct 2018 15:10:29 -0400 Subject: [PATCH] removes restrictions for deploy --- app/helpers/application_helper.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d9121aa5..8aef5f40 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -6,14 +6,4 @@ def site_sidebar? can?(:manage, Spotlight::Site.instance) || can?(:create, Spotlight::Exhibit) end - # site_title pulls from the db if configured through the UI. - # otherwise use the val from the blacklight locale file. - # We need this because application_name helper changes to include exhibit titles - def header_title - site_title || t("blacklight.application_name") - end - - def current_year - Date.today.year - end end