0
0
Fork 0

Apply Rubocop Rails/RootPublicPath (#23447)

This commit is contained in:
Nick Schonning 2023-02-08 04:38:07 -05:00 committed by GitHub
parent 0d1f192c54
commit 11557d1c5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@ end
namespace :assets do
desc 'Generate static pages'
task generate_static_pages: :environment do
render_static_page 'errors/500', layout: 'error', dest: Rails.root.join('public', 'assets', '500.html')
render_static_page 'errors/500', layout: 'error', dest: Rails.public_path.join('assets', '500.html')
end
end