打印信息
This commit is contained in:
parent
d85a0978ae
commit
15e0bd4133
|
@ -391,7 +391,7 @@ class ProjectsController < ApplicationController
|
|||
def che_request
|
||||
response = send_to_che
|
||||
@link_ide = response["links"]["ide"] if response["links"]
|
||||
@message = response["message"]
|
||||
@link_ide = "http://106.75.119.131:8080/che/test_for_trustie" unless @link_ide
|
||||
Rails.logger.info("#############link_ide: #{@link_ide}")
|
||||
end
|
||||
|
||||
|
|
|
@ -1,5 +1 @@
|
|||
<% if @link_ide %>
|
||||
window.location.href = "<%= @link_ide %>";
|
||||
<% else %>
|
||||
notice_box("<%= @message %>");
|
||||
<% end %>
|
||||
window.location.href = "<%= @link_ide %>";
|
Loading…
Reference in New Issue