gitlabhq/app/controllers/teams/application_controller.rb

9 lines
158 B
Ruby
Raw Normal View History

2013-01-19 18:49:15 +01:00
class Teams::ApplicationController < ApplicationController
protected
def user_team
@user_team ||= UserTeam.find_by_path(params[:team_id])
end
end