Skip to content

Commit

Permalink
AO3-6874 Add browser page titles to TOS related pages (#5020)
Browse files Browse the repository at this point in the history
AO3-6784 Add broswer page titles to TOS related pages

Co-authored-by: indes-castille <[email protected]>
  • Loading branch information
indesotw and indesotw authored Jan 22, 2025
1 parent 1e5935e commit f297d58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@ def unicorn_test
end

def content
@page_title = t(".page_title")
@page_subtitle = t(".page_title")
render action: "content", layout: "application"
end

def privacy
@page_title = t(".page_title")
@page_subtitle = t(".page_title")
render action: "privacy", layout: "application"
end

# terms of service
def tos
@page_title = t(".page_title")
@page_subtitle = t(".page_title")
render action: "tos", layout: "application"
end

# terms of service faq
def tos_faq
@page_title = t(".page_title")
@page_subtitle = t(".page_title")
render action: "tos_faq", layout: "application"
end

Expand Down

0 comments on commit f297d58

Please sign in to comment.