logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: f7bf36d8fc5f8a7638a2cee215513c1dcd4f4a96
parent: 33f56811e38bc330de9dcfa6794c29a176a30311
Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Date:   Sun,  4 Feb 2018 02:41:01 +0900

Require environment for generate_static_pages (#6420)

It is required for ApplicationController.

Diffstat:

Mlib/tasks/assets.rake2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake @@ -9,7 +9,7 @@ end namespace :assets do desc 'Generate static pages' - task :generate_static_pages do + task generate_static_pages: :environment do render_static_page 'errors/500', layout: 'error', dest: Rails.root.join('public', 'assets', '500.html') end end