Merge Request uses StateMachine now

This commit is contained in:
Andrew8xx8 2013-02-18 13:07:49 +04:00
parent b45e9aefd3
commit 29f70acc98
4 changed files with 21 additions and 4 deletions

View file

@ -81,7 +81,7 @@ module Gitlab
end
class MergeRequest < Grape::Entity
expose :id, :target_branch, :source_branch, :project_id, :title, :closed, :merged
expose :id, :target_branch, :source_branch, :project_id, :title, :state
expose :author, :assignee, using: Entities::UserBasic
end