dev_forum
SylorHuang 5 years ago
parent 39f75a0dc7
commit ca4c84d6c2

@ -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{

Loading…
Cancel
Save