mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Missing return statement
This commit is contained in:
parent
99965adb7b
commit
407595c12b
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue