|
|
|
@ -75,8 +75,7 @@ class GamesService
|
|
|
|
|
:challenge => game_challenge.try(:attributes), :game => game.try(:attributes), :shixun => shixun.try(:attributes),
|
|
|
|
|
:record => record, :grade => grade, :prev_game => prev_game, :next_game => next_game, :username => username,
|
|
|
|
|
:image_url => image_url, :user_url => user_url, :praise_count => praise_count, :user_praise => user_praise, :time_limit => time_limit,
|
|
|
|
|
:tomcat_url => Redmine::Configuration['tomcat_php'], :is_teacher => is_teacher, :power => power, :myshixun_manager => myshixun_manager,
|
|
|
|
|
:vnc => shixun.vnc}
|
|
|
|
|
:tomcat_url => Redmine::Configuration['tomcat_php'], :is_teacher => is_teacher, :power => power, :myshixun_manager => myshixun_manager}
|
|
|
|
|
if shixun.vnc
|
|
|
|
|
begin
|
|
|
|
|
shixun_tomcat = Redmine::Configuration['shixun_tomcat']
|
|
|
|
|