mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix error email
This commit is contained in:
parent
5d89cb305d
commit
9adf6ba4fb
1 changed files with 2 additions and 2 deletions
4
app.rb
4
app.rb
|
@ -44,7 +44,7 @@ error do
|
|||
from: 'web@neocities.org',
|
||||
to: 'errors@neocities.org',
|
||||
subject: "[Neocities Error] #{env['sinatra.error'].class}: #{env['sinatra.error'].message}",
|
||||
body: erb(:'views/templates/email/error'),
|
||||
body: erb(:'templates/email/error', layout: false),
|
||||
no_footer: true
|
||||
})
|
||||
|
||||
|
@ -55,4 +55,4 @@ error do
|
|||
erb :'error'
|
||||
end
|
||||
|
||||
Dir['./app/**/*.rb'].each {|f| require f}
|
||||
://neocities.org/surf?current_page=3&sort_by=newest&tag=ir['./app/**/*.rb'].each {|f| require f}
|
||||
|
|
Loading…
Add table
Reference in a new issue