Merge pull request #89 from finnlabs/feature/remove_api_v1

[Feature] Remove API v1
pull/6827/head
meeee 11 years ago
commit 98cf02889f
  1. 11
      lib/open_project/backlogs/hooks.rb

@ -226,16 +226,5 @@ module OpenProject::Backlogs::Hooks
end
end
end
# Renders story_points in v1 api#index
#
# Context:
# * :api => Current api instance
# * :issue => issue to render
#
def api_issue_index_attributes(context={})
return unless context[:api] && context[:issue]
context[:api].story_points context[:issue].story_points
end
end
end

Loading…
Cancel
Save