diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-31 18:14:28 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-31 18:14:28 +0000 |
commit | b603aa74f9ea6b4775c9ab9897faa63cd6ba3da8 (patch) | |
tree | a885a891766abf4cad3b5fd8ca8b9dd1edc86e89 /app/views/versions | |
parent | c57a2974d16e7ce9706f0bc7aab279c53b4895fc (diff) | |
download | redmine-b603aa74f9ea6b4775c9ab9897faa63cd6ba3da8.tar.gz redmine-b603aa74f9ea6b4775c9ab9897faa63cd6ba3da8.zip |
Adds sharing attribute to the versions API (#11541).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10148 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r-- | app/views/versions/index.api.rsb | 1 | ||||
-rw-r--r-- | app/views/versions/show.api.rsb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/versions/index.api.rsb b/app/views/versions/index.api.rsb index 3a262550b..3adde2b98 100644 --- a/app/views/versions/index.api.rsb +++ b/app/views/versions/index.api.rsb @@ -8,6 +8,7 @@ api.array :versions, api_meta(:total_count => @versions.size) do api.description version.description api.status version.status api.due_date version.effective_date + api.sharing version.sharing render_api_custom_values version.custom_field_values, api diff --git a/app/views/versions/show.api.rsb b/app/views/versions/show.api.rsb index 08ba00cf3..63bf2d379 100644 --- a/app/views/versions/show.api.rsb +++ b/app/views/versions/show.api.rsb @@ -6,6 +6,7 @@ api.version do api.description @version.description api.status @version.status api.due_date @version.effective_date + api.sharing @version.sharing render_api_custom_values @version.custom_field_values, api |