diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 0f91285b..abffd0aa 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -749,6 +749,7 @@ class ShixunsController < ApplicationController @main_type = MirrorRepository.published_main_mirror @small_type = MirrorRepository.published_small_mirror + respond_to do |format| format.html{render :layout => 'base_edu'} format.json diff --git a/app/views/shixuns/_settings_edit.html.erb b/app/views/shixuns/_settings_edit.html.erb index e23adfc6..34c2e551 100644 --- a/app/views/shixuns/_settings_edit.html.erb +++ b/app/views/shixuns/_settings_edit.html.erb @@ -71,7 +71,7 @@
<% @small_type.try(:each) do |type| %>

- +

<% end %> @@ -294,7 +294,7 @@
<% end %> -
+

服务配置

<% @shixun.shixun_service_configs.each do |config| %>

<%= config.mirror_repository.try(:type_name) %>

@@ -354,51 +354,52 @@
-