FIX: Amend release_notes_link in app/models/admin_dashboard_general_data.rb (#19125)

Update `release_notes_link` to current version

<!-- NOTE: All pull requests should have tests (rspec in Ruby, qunit in
JavaScript). If your code does not include test coverage, please include
an explanation of why it was omitted. -->
This commit is contained in:
TheJammiestDodger 2022-11-21 16:21:34 +00:00 committed by GitHub
parent d49fa9007d
commit be99c3eec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ class AdminDashboardGeneralData < AdminDashboardData
{
updated_at: Time.zone.now.as_json,
discourse_updated_at: Discourse.last_commit_date,
release_notes_link: "https://meta.discourse.org/c/feature/announcements?tags=release-notes&before=#{days_since_update}"
release_notes_link: "https://meta.discourse.org/c/announcements/67?tags=release-notes&before=#{days_since_update}"
}
end