Permalink
Browse files

Wrong place. Too late. No more deploying!

  • Loading branch information...
1 parent 4452f26 commit 0f677c54365f86ade646b960491e97c8186369cc @sudara committed Feb 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/application_controller.rb
@@ -81,7 +81,7 @@ def currently_online
def find_user
login = params[:login] || params[:id]
- @user = User.find_by_login(login) || current_user || raise(ActionController::RoutingError, 'user not found')
+ @user = User.find_by_login(login) || current_user
end
def current_user_is_admin_or_owner?(user)

0 comments on commit 0f677c5

Please sign in to comment.