Skip to content

Commit

Permalink
Overriding the ApplicationHelper#application_name method in order to …
Browse files Browse the repository at this point in the history
…use only the site branding
  • Loading branch information
jrgriffiniii committed Feb 19, 2019
1 parent 1333c59 commit a5d35ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def site_sidebar?
def header_title
site_title || t("blacklight.application_name")
end
alias application_name header_title

def current_year
Date.today.year
Expand Down

0 comments on commit a5d35ad

Please sign in to comment.