Missing return statement
This commit is contained in:
parent
99965adb7b
commit
407595c12b
|
@ -125,6 +125,7 @@ class Ajax::ModerationController < ApplicationController
|
|||
@status = :nopriv
|
||||
@message = "You cannot ban an administrator!"
|
||||
@success = false
|
||||
return
|
||||
end
|
||||
|
||||
if unban
|
||||
|
|
Loading…
Reference in New Issue