summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorazul <azul@leap.se>2014-05-22 14:48:40 +0200
committerazul <azul@leap.se>2014-05-22 14:48:40 +0200
commit0c995deeb434237aa71e3a45f9f5a51f7c79116a (patch)
treed2988d37c9d3bdb02d9e0b36eb1bc61ca0782f1f /app/controllers
parentb9174fdc9d9bd403d9a16650bafc4715e3dbf2d4 (diff)
parentb298cea527f74f682d24defee360e0f45f47d125 (diff)
Merge pull request #162 from azul/feature/3295-custom-error-pages
Feature/3295 custom error pages
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/errors_controller.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb
new file mode 100644
index 0000000..6c659e6
--- /dev/null
+++ b/app/controllers/errors_controller.rb
@@ -0,0 +1,10 @@
+# We render http errors ourselves so we can customize them
+class ErrorsController < ApplicationController
+ # 404
+ def not_found
+ end
+
+ # 500
+ def server_error
+ end
+end