This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Require environment for generate_static_pages (
#6420
)
It is required for ApplicationController.
pull/4/head
Akihiko Odaki
6 years ago
committed by
Eugen Rochko
parent
33f56811e3
commit
f7bf36d8fc
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/tasks/assets.rake
+ 1
- 1
lib/tasks/assets.rake
View File
@ -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
Write
Preview
Loading…
Cancel
Save