mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 05:06:46 +10:00
12 lines
199 B
Ruby
12 lines
199 B
Ruby
class Projects::ApplicationController < ApplicationController
|
|
|
|
before_filter :authorize_admin_team_member!
|
|
|
|
protected
|
|
|
|
def user_team
|
|
@team ||= UserTeam.find_by_path(params[:id])
|
|
end
|
|
|
|
end
|