summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSven Dahlstrand <sven@limepark.se>2015-04-27 00:43:59 +0200
committerSven Dahlstrand <sven@limepark.se>2015-04-27 00:47:21 +0200
commit937fcce2dcca8010dbe8e9e26df954cb1330c1e0 (patch)
tree500aebafe910c7b19befadc3ead52ad4958e71e8 /lib
parentf4b121e8dead69e02223ee9d50e431dbc7f5b3c5 (diff)
Pass `status` option to `send_file` and make sure a 404 is returned.
Diffstat (limited to 'lib')
-rw-r--r--lib/dashing/app.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dashing/app.rb b/lib/dashing/app.rb
index 921bf9c..0e7f7bb 100644
--- a/lib/dashing/app.rb
+++ b/lib/dashing/app.rb
@@ -50,7 +50,7 @@ end
end
not_found do
- send_file File.join(settings.public_folder, '404.html')
+ send_file File.join(settings.public_folder, '404.html'), status: 404
end
at_exit do