Commit f2b42237 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixes indentation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4487 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 5f57bcea
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment