mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
usage of raise corrected
This commit is contained in:
@@ -157,7 +157,7 @@ class UsersController < ApplicationController
|
||||
redirect_to path("/users/#{current_user.username}/#{params[:path]}")
|
||||
return
|
||||
end
|
||||
raise Discourse::NotFound.new
|
||||
raise Discourse::NotFound
|
||||
end
|
||||
|
||||
def invited
|
||||
|
||||
Reference in New Issue
Block a user