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