Skip to content

Commit 1be6c02

Browse files
committed
Redirect to root after log in
1 parent 215c308 commit 1be6c02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/application_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def store_location
3838

3939
def after_sign_in_path_for(user)
4040
if user.members.present?
41-
users_path
41+
root_path
4242
else
4343
page_path("about")
4444
end

0 commit comments

Comments
 (0)