Blank line for private

This commit is contained in:
Lin Jen-Shin 2016-06-15 16:18:31 +08:00
parent 3b64c4f9d6
commit fcc6a59247
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ module Gitlab
end
private
def validate_permission!(permission)
raise UserNotFoundError unless author
raise UserBlockedError if author.blocked?