You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class Ci::BaseController < ApplicationController
- before_action :require_login
-
- def load_repo
- namespace = params[:owner]
- id = params[:repo] || params[:id]
-
- @user, @repo = Ci::Repo.find_with_namespace(namespace, id)
- end
- end
|