commit: 92e7815d1dce96ac5e01b10bcfa110aa96487c35
parent: 9d97054fe6ad72da1ef70b0a027bb32cb1fbdfb4
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Mon, 9 Oct 2017 20:51:24 +0200
Fix #5274 - Create symlink from public/500.html to public/assets/500.html (#5288)
Diffstat:
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git 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
@@ -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
@@ -0,0 +1 @@
+assets/500.html+
\ No newline at end of file