diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-08 04:38:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 10:38:07 +0100 |
commit | 11557d1c5a4ecb44cf602eabf0c9bd2882514b3a (patch) | |
tree | 88715a67db7139ec104892900ecf425d276b72f3 /lib/tasks/assets.rake | |
parent | 0d1f192c54ab65a4a1c938553e5d87be65a966e8 (diff) |
Apply Rubocop Rails/RootPublicPath (#23447)
Diffstat (limited to 'lib/tasks/assets.rake')
-rw-r--r-- | lib/tasks/assets.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake index b642510a1..1d2270572 100644 --- a/lib/tasks/assets.rake +++ b/lib/tasks/assets.rake @@ -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 |