respond_to do |format|
format.html
format.json { render json: @company }
end
respond_to do |format|
format.html
format.json { render json: { company: @company, meta: { current_page: @company.current_page } } }
end
render json: { company: CompanySerializer.new(@company, root: false).serializable_hash, meta: { current_page: @company.current_page } }