mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 07:23:43 +01:00
Require environment for generate_static_pages (#6420)
It is required for ApplicationController.
This commit is contained in:
parent
33f56811e3
commit
f7bf36d8fc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue