Skip to content

Commit

Permalink
Adds the Article Status to the Article Response
Browse files Browse the repository at this point in the history
  • Loading branch information
terwey committed Jul 4, 2014
1 parent 1cd24b2 commit 92514ec
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,12 @@ Newscoop\Entity\Article:
read_only: true
groups: ["list", "details"]
serialized_name: comments_locked
since_version: 1.1
since_version: 1.1
virtual_properties:
getWorkflowStatus:
expose: true
read_only: true
groups: ["list", "details"]
serialized_name: status
accessor:
getter: getWorkflowStatus

0 comments on commit 92514ec

Please sign in to comment.