diff --git a/app/controllers/managements_controller.rb b/app/controllers/managements_controller.rb index 3259c66b..d5212ea1 100644 --- a/app/controllers/managements_controller.rb +++ b/app/controllers/managements_controller.rb @@ -1198,7 +1198,12 @@ end @is_remote = true @schools_pages = Paginator.new @schools_count, @limit, @page @schools = paginateHelper @schools, @limit - render :json => @schools + respond_to do |format| + format.js + format.json { + render json: @schools + } + end end diff --git a/app/views/managements/_partner_addUnit.html.erb b/app/views/managements/_partner_addUnit.html.erb index e18890dc..11a9c669 100644 --- a/app/views/managements/_partner_addUnit.html.erb +++ b/app/views/managements/_partner_addUnit.html.erb @@ -23,15 +23,6 @@

-
-
- -
-
-
-