Skip to content

Commit

Permalink
add title helper (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Apr 29, 2020
1 parent 49ad16b commit 7152213
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/helpers/title_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

module TitleHelper
def set_title(title)
content_for(:html_title, title)
end
end

0 comments on commit 7152213

Please sign in to comment.