redirect to news after login
This commit is contained in:
@@ -34,7 +34,7 @@ class SessionsController < ApplicationController
|
||||
redirect_to cookies[:return_path]
|
||||
cookies.delete(:return_path)
|
||||
else
|
||||
redirect_to root_path
|
||||
redirect_to blogposts_path
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user