about summary refs log tree commit diff
path: root/app/controllers/auth/sessions_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-09-26 23:55:21 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-09-26 23:56:53 +0200
commit7e14eefc819ce27f45406452a4f8e2039d0f0886 (patch)
treea58bb240cff3a247b154362a0106369789a04ad1 /app/controllers/auth/sessions_controller.rb
parent210362e66578dae32cbf169884d3c2905fe32cb7 (diff)
Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
registration API
Diffstat (limited to 'app/controllers/auth/sessions_controller.rb')
-rw-r--r--app/controllers/auth/sessions_controller.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/auth/sessions_controller.rb b/app/controllers/auth/sessions_controller.rb
index fe0adc9bb..1418ab2ca 100644
--- a/app/controllers/auth/sessions_controller.rb
+++ b/app/controllers/auth/sessions_controller.rb
@@ -8,4 +8,10 @@ class Auth::SessionsController < Devise::SessionsController
       remember_me(resource)
     end
   end
+
+  protected
+
+  def after_sign_in_path_for(_resource)
+    root_path
+  end
 end