Browse Source

Fix #5274 - Create symlink from public/500.html to public/assets/500.html (#5288)

pull/4/head
Eugen Rochko 4 years ago
committed by GitHub
parent
commit
92e7815d1d
3 changed files with 2 additions and 2 deletions
  1. +0
    -1
      .gitignore
  2. +1
    -1
      lib/tasks/assets.rake
  3. +1
    -0
      public/500.html

+ 0
- 1
.gitignore View File

@ -21,7 +21,6 @@ public/system
public/assets
public/packs
public/packs-test
public/500.html
.env
.env.production
node_modules/

+ 1
- 1
lib/tasks/assets.rake View File

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

+ 1
- 0
public/500.html View File

@ -0,0 +1 @@
assets/500.html

Loading…
Cancel
Save