diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 24850a585..e81355260 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -363,16 +363,6 @@ class UsersController < ApplicationController end def show - # 测试代码 - #login_gitlab("admin@local.host","19840410") - #create_project("testproject1") - #create_project_for_user("testproject1","2") - #create_user("test","just test","123456","test@sina.com") - #delete_user("3") - #add_user_to_project("1","2",GitlabHelper::GUEST) - #delete_user_from_project("1","2") - # 测试结束 - pre_count = 10 #limit case params[:type] when "1" diff --git a/app/views/layouts/base_courses.html.erb b/app/views/layouts/base_courses.html.erb index 5958e18bd..38691bd1e 100644 --- a/app/views/layouts/base_courses.html.erb +++ b/app/views/layouts/base_courses.html.erb @@ -42,7 +42,7 @@
<%= link_to "主页", home_path %> - > <%= link_to l(:label_course_practice), :controller => 'courses', :action => 'index' %> + > <%= link_to l(:label_course_all), :controller => 'courses', :action => 'index' %> > <%= link_to @course.name, nil %>