diff options
author | re4k <re4k@re4k.info> | 2013-05-06 15:37:02 +0900 |
---|---|---|
committer | re4k <re4k@re4k.info> | 2013-05-06 15:37:02 +0900 |
commit | c0f5cce4645697823080c271e26de6d2c35a41c8 (patch) | |
tree | 98cf9e4aad85cb910900bfdbde0d276cf5339046 /app/controllers/errors_controller.rb | |
parent | af3990115b393efed9bf1c90fdb6648e3a1e1ef0 (diff) | |
download | aclog-c0f5cce4645697823080c271e26de6d2c35a41c8.tar.gz |
add OAuth Echo support
Diffstat (limited to 'app/controllers/errors_controller.rb')
-rw-r--r-- | app/controllers/errors_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb index 4169eab..1755e05 100644 --- a/app/controllers/errors_controller.rb +++ b/app/controllers/errors_controller.rb @@ -20,6 +20,8 @@ class ErrorsController < ApplicationController render "error", status: 403 when Aclog::Exceptions::LoginRequired render "error", status: 403 + when Aclog::Exceptions::OAuthEchoUnauthorized + render "error", status: 401 when ActionController::RoutingError render "error", status: 404 else |