|
|
|
@ -240,7 +240,7 @@ class RepositoriesController < ApplicationController
|
|
|
|
|
@course_tag = params[:course]
|
|
|
|
|
project_path_cut = RepositoriesHelper::PROJECT_PATH_CUT
|
|
|
|
|
ip = RepositoriesHelper::REPO_IP_ADDRESS
|
|
|
|
|
@repos_url = "http://"+@repository.login.to_s+"_"+@repository.identifier.to_s+"@"+ip+
|
|
|
|
|
@repos_url = "http://"+@repository.login.to_s+"_"+@repository.identifier.to_s+"@"+ip.to_s+
|
|
|
|
|
@repository.url.slice(project_path_cut, @repository.url.length).to_s
|
|
|
|
|
if @course_tag == 1
|
|
|
|
|
render :action => 'show', :layout => 'base_courses'
|
|
|
|
|