[#42] fix error with html format

This commit is contained in:
Alexander Machehin 2013-04-16 01:22:39 +06:00
parent 6c2f13a625
commit 288956f9fb
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class Api::V1::IssuesController < Api::V1::BaseController
@issues = @issues.where('created_at >= to_timestamp(?)', params[:since]) if params[:since] =~ /\A\d+\z/
@issues.paginate(paginate_params)
render 'index'
respond_with @issues
end
def render_json(action_name, action_method = nil)