course real server host.
This commit is contained in:
parent
7deeab62bc
commit
bc7471bcb7
|
@ -19,7 +19,7 @@ class WelcomeController < ApplicationController
|
|||
caches_action :robots
|
||||
|
||||
def index
|
||||
(course() and render :course and return 0) if request.headers['REQUEST_URI'].match(/course\.trustie\.net/)
|
||||
(course() and render :course and return 0) if request.original_url.match(/course\.trustie\.net/)
|
||||
# @news = News.latest User.current
|
||||
# @projects = Project.latest User.current
|
||||
#by young
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<h3>test</h3>
|
||||
<%= debug @params %>
|
||||
<%= debug request %>
|
||||
<hr/>
|
||||
|
|
@ -1570,6 +1570,8 @@ en:
|
|||
label_contest_innovate: Competitions
|
||||
label_software_user: Users
|
||||
label_course_practice: Courses
|
||||
label_course_all: Teacher
|
||||
label_teacher_all: Student
|
||||
label_user_home: User Space
|
||||
|
||||
field_hidden_repo: code protected
|
||||
|
|
Loading…
Reference in New Issue