gitlabhq/app/controllers/teams/application_controller.rb
Dmitriy Zaporozhets 645f960475 Few UI improvements
2013-01-24 22:31:49 +02:00

13 lines
222 B
Ruby

class Teams::ApplicationController < ApplicationController
layout 'user_team'
before_filter :authorize_manage_user_team!
protected
def user_team
@team ||= UserTeam.find_by_path(params[:team_id])
end
end