Skip to content

Commit

Permalink
removes restrictions for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
sdellis committed Oct 1, 2018
1 parent 099df9e commit 39519a4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 39519a4

Please sign in to comment.