forked from bofh/fetsite
AutoCommit Mon Aug 31 14:03:19 CEST 2015
This commit is contained in:
@@ -52,7 +52,8 @@
|
||||
else
|
||||
flash[:error] = "You must first login to view this page"
|
||||
session[:user_return_to] = request.url
|
||||
redirect_to "/users/sign_in"
|
||||
return redirect_to "/users/sign_in"
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user