Hack fix for our API controllers not being able to access Spree's Rabl Responder

This commit is contained in:
Rob H
2014-04-23 12:02:11 +10:00
parent c0228e0cc3
commit 353b26c3df
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ module Api
def managed
@enterprises = Enterprise.ransack(params[:q]).result.managed_by(current_api_user)
respond_with(@enterprises)
render params[:template] || :bulk_index
end
end
end