Merge branch 'api_fixes' into bom

This commit is contained in:
Rob H
2014-04-23 12:03:01 +10:00
62 changed files with 775 additions and 2282 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
def accessible
@@ -12,4 +12,4 @@ module Api
respond_with(@enterprises)
end
end
end
end