@@ -78,7 +78,7 @@ def report
78
78
@report = Redmine ::Helpers ::TimeReport . new ( @project , @issue , params [ :criteria ] , params [ :columns ] , scope )
79
79
80
80
respond_to do |format |
81
- format . html { render :layout => !request . xhr? }
81
+ format . html { render :layout => !request . xhr? }
82
82
format . csv do
83
83
send_data ( report_to_csv ( @report ) , :type => 'text/csv; header=present' ,
84
84
:filename => 'timelog.csv' )
@@ -89,7 +89,7 @@ def report
89
89
def show
90
90
respond_to do |format |
91
91
# TODO: Implement html response
92
- format . html { head 406 }
92
+ format . html { head 406 }
93
93
format . api
94
94
end
95
95
end
@@ -146,8 +146,8 @@ def create
146
146
end
147
147
else
148
148
respond_to do |format |
149
- format . html { render :action => 'new' }
150
- format . api { render_validation_errors ( @time_entry ) }
149
+ format . html { render :action => 'new' }
150
+ format . api { render_validation_errors ( @time_entry ) }
151
151
end
152
152
end
153
153
end
@@ -167,12 +167,12 @@ def update
167
167
flash [ :notice ] = l ( :notice_successful_update )
168
168
redirect_back_or_default project_time_entries_path ( @time_entry . project )
169
169
end
170
- format . api { render_api_ok }
170
+ format . api { render_api_ok }
171
171
end
172
172
else
173
173
respond_to do |format |
174
- format . html { render :action => 'edit' }
175
- format . api { render_validation_errors ( @time_entry ) }
174
+ format . html { render :action => 'edit' }
175
+ format . api { render_validation_errors ( @time_entry ) }
176
176
end
177
177
end
178
178
end
0 commit comments