|
|
|
@ -1291,7 +1291,10 @@ class ExercisesController < ApplicationController
|
|
|
|
|
@page = params[:page] || 1
|
|
|
|
|
@limit = params[:limit] || 20
|
|
|
|
|
@exercise_users_list = @exercise_users_list.page(@page).per(@limit)
|
|
|
|
|
logger.info("###########______________format.xlsx_______#######{format.xlsx}")
|
|
|
|
|
if params[:format] == "xlsx"
|
|
|
|
|
logger.info("###########______________format.xlsx______111111111_#######")
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
|
respond_to do |format|
|
|
|
|
|
format.json
|
|
|
|
|
format.xlsx{
|
|
|
|
|