summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-05 12:22:52 +0200
committerAzul <azul@leap.se>2014-05-19 14:23:25 +0200
commit89e9154499f67fd8c63e1098b3e50b317c690dd0 (patch)
tree03f80e2d1d7e07fa8049cf9c587a1683a4ccaf70 /app/controllers
parentb9174fdc9d9bd403d9a16650bafc4715e3dbf2d4 (diff)
custom error pages for 404 and 500 errors
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/errors_controller.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb
new file mode 100644
index 0000000..bf9329c
--- /dev/null
+++ b/app/controllers/errors_controller.rb
@@ -0,0 +1,9 @@
+class ErrorsController < ApplicationController
+
+ def not_found
+ end
+
+ def server_error
+ end
+
+end