rosa-build/app/views/api/v1/users/notifiers.json.jbuilder

9 lines
348 B
Plaintext
Raw Normal View History

json.user do
json.(@user, :id)
json.notifiers do
2013-11-26 17:21:50 +00:00
json.(@user.notifier, :can_notify, :new_comment, :new_comment_reply, :new_issue, :issue_assign, :new_comment_commit_owner, :new_comment_commit_repo_owner, :new_comment_commit_commentor, :new_build, :new_associated_build,
:new_commit)
end
end
json.url notifiers_api_v1_user_path(:json)