diff --git a/.gitignore b/.gitignore index 2f5f1e71a..38ebc934f 100644 --- a/.gitignore +++ b/.gitignore @@ -21,7 +21,6 @@ public/system public/assets public/packs public/packs-test -public/500.html .env .env.production node_modules/ diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake index 44896afc7..f60c1b9f2 100644 --- a/lib/tasks/assets.rake +++ b/lib/tasks/assets.rake @@ -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 diff --git a/public/500.html b/public/500.html new file mode 120000 index 000000000..45a907808 --- /dev/null +++ b/public/500.html @@ -0,0 +1 @@ +assets/500.html \ No newline at end of file