dev_SaaS
hjm 6 years ago
commit f01796beb5

@ -448,8 +448,6 @@ class EcCoursesController < ApplicationController
end end
def score_level_data def score_level_data
respond_to do |format|
format.json{
levels = @ec_course.ec_score_levels levels = @ec_course.ec_score_levels
ls = [] ls = []
if levels.present? if levels.present?
@ -463,8 +461,6 @@ class EcCoursesController < ApplicationController
{score: 60, level: ""}] {score: 60, level: ""}]
end end
render :json => {levels: ls, is_manager: @is_manager} render :json => {levels: ls, is_manager: @is_manager}
}
end
end end
def crud_score_level def crud_score_level

Loading…
Cancel
Save