|
|
@ -20,7 +20,10 @@ class MainController < ApplicationController
|
|
|
|
uid_logger("main start is #{cookies[:_educoder_session]}")
|
|
|
|
uid_logger("main start is #{cookies[:_educoder_session]}")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if params[:path].split("/").first == "h5"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if params[:path] && params[:path].split("/").first == "educoderh5"
|
|
|
|
|
|
|
|
|
|
|
|
render file: 'public/h5build/index.html', :layout => false
|
|
|
|
render file: 'public/h5build/index.html', :layout => false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|