Removed style offenses

pull/2556/head
Alexander Bach 10 years ago committed by Mihail Maxacov
parent e9a618e7d4
commit 76185d6d84
  1. 4
      lib/api/v3/work_packages/work_package_representer.rb

@ -34,7 +34,6 @@ module API
module V3
module WorkPackages
class WorkPackageRepresenter < ::API::Decorators::Single
self_link title_getter: -> (*) { represented.subject }
link :update do
@ -311,7 +310,8 @@ module API
end
def watchers
watchers = represented.watcher_users.order(User::USER_FORMATS_STRUCTURE[Setting.user_format])
watchers =
represented.watcher_users.order(User::USER_FORMATS_STRUCTURE[Setting.user_format])
watchers.map do |watcher|
::API::V3::Users::UserRepresenter.new(watcher,
work_package: represented,

Loading…
Cancel
Save