Skip to content

Commit

Permalink
AO3-5843 change Invite Requests browser page title to Invitation Requ…
Browse files Browse the repository at this point in the history
…ests (#5007)

* AO3-5843 change browser page title from Invite Requests to Invitation Requests

* AO3-5843 Change browser title page Invite Requests to Invitation Requests

* AO3-5843 change Invite Requests to Invitation Requests

* AO3-5843 change Invite Requests to Invitation Requests
  • Loading branch information
jeslynsee authored Dec 31, 2024
1 parent e2d4b59 commit e785293
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/invite_requests_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ class InviteRequestsController < ApplicationController
before_action :admin_only, only: [:manage, :destroy]

# GET /invite_requests
# Set browser page title to Invitation Requests
def index
@invite_request = InviteRequest.new
@page_subtitle = t(".page_title")
end

# GET /invite_requests/1
Expand Down
3 changes: 3 additions & 0 deletions config/locales/controllers/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ en:
page_title: Terms of Service
tos_faq:
page_title: Terms of Service FAQ
invite_requests:
index:
page_title: Invitation Requests
kudos:
create:
success: Thank you for leaving kudos!
Expand Down

0 comments on commit e785293

Please sign in to comment.