|
|
@ -1291,7 +1291,10 @@ class ExercisesController < ApplicationController
|
|
|
|
@page = params[:page] || 1
|
|
|
|
@page = params[:page] || 1
|
|
|
|
@limit = params[:limit] || 20
|
|
|
|
@limit = params[:limit] || 20
|
|
|
|
@exercise_users_list = @exercise_users_list.page(@page).per(@limit)
|
|
|
|
@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|
|
|
|
|
respond_to do |format|
|
|
|
|
format.json
|
|
|
|
format.json
|
|
|
|
format.xlsx{
|
|
|
|
format.xlsx{
|
|
|
|