Fixes indentation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4487 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-12-11 10:24:58 +00:00
parent 5f57bceabb
commit f2b42237d0
2 changed files with 46 additions and 48 deletions

View File

@ -16,9 +16,7 @@ api.issue do
api.due_date @issue.due_date
api.done_ratio @issue.done_ratio
api.estimated_hours @issue.estimated_hours
if User.current.allowed_to?(:view_time_entries, @project)
api.spent_hours @issue.spent_hours
end
api.spent_hours(@issue.spent_hours) if User.current.allowed_to?(:view_time_entries, @project)
render_api_custom_values @issue.custom_field_values, api