Commit 40913f00 authored by Jonne Haß's avatar Jonne Haß

make assets:generate_error_pages depend on environment [ci skip]

parent a5eb7d5d
namespace :assets do
desc "Generate error pages"
task :generate_error_pages do
task :generate_error_pages => :environment do
renderer = ErrorPageRenderer.new codes: [404, 422, 500]
renderer.render
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment