diff options
author | Rhenium <rhenium@rhe.jp> | 2013-11-18 21:53:06 +0900 |
---|---|---|
committer | Rhenium <rhenium@rhe.jp> | 2013-11-18 21:53:06 +0900 |
commit | a30d696c1c57d42cabdecb3c06e15e60bb6de21c (patch) | |
tree | aa2a405cfcd8e0d1410f16c358e9967da0254102 /config | |
parent | 070fafaf8b937f71891526a4d877682b35242085 (diff) | |
download | aclog-a30d696c1c57d42cabdecb3c06e15e60bb6de21c.tar.gz |
redirect to previous page after login
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index f2c3b1e..838d222 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -11,7 +11,7 @@ Aclog::Application.routes.draw do scope format: "html" do # Internals / SessionsController get "/i/import/:id" => "i#import", as: "import" - get "/i/callback" => "sessions#callback" + get "/i/callback" => "sessions#create" get "/i/logout" => "sessions#destroy", as: "logout" get "/i/:id" => "tweets#show", as: "tweet", constraints: {id: /\d+/} |