Skip to content

Commit

Permalink
AO3-5843 change browser page title from Invite Requests to Invitation…
Browse files Browse the repository at this point in the history
… Requests
  • Loading branch information
jeslynsee committed Dec 29, 2024
1 parent 74655f9 commit 7268deb
Showing 1 changed file with 2 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 | Archive Of Our Own
def index
@invite_request = InviteRequest.new
@page_title = ts("Invitation Requests | Archive Of Our Own")

Check warning on line 8 in app/controllers/invite_requests_controller.rb

View workflow job for this annotation

GitHub Actions / Rubocop

[rubocop] reported by reviewdog 🐶 Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards Raw Output: app/controllers/invite_requests_controller.rb:8:19: C: I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
end

# GET /invite_requests/1
Expand Down

0 comments on commit 7268deb

Please sign in to comment.