Skip to content

Commit

Permalink
go changed to redirect_to
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanstout committed May 14, 2015
1 parent 740b9c8 commit ee8d7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/volt/controllers/model_controller.rb
Expand Up @@ -190,7 +190,7 @@ def loaded?
def require_login(message = 'You must login to access this area.')
unless Volt.current_user_id
flash._notices << message
go '/login'
redirect_to '/login'

stop_chain
end
Expand Down

0 comments on commit ee8d7a3

Please sign in to comment.