gitlab-org--gitlab-foss/app/controllers/teams/application_controller.rb

14 lines
222 B
Ruby
Raw Normal View History

2013-01-19 12:49:15 -05:00
class Teams::ApplicationController < ApplicationController
2013-01-24 03:16:03 -05:00
layout 'user_team'
before_filter :authorize_manage_user_team!
2013-01-19 12:49:15 -05:00
protected
def user_team
@team ||= UserTeam.find_by_path(params[:team_id])
end
2013-01-19 12:49:15 -05:00
end