2013-01-19 18:49:15 +01:00
|
|
|
class Teams::ApplicationController < ApplicationController
|
2013-01-22 21:58:44 +01:00
|
|
|
|
|
|
|
before_filter :authorize_manage_user_team!
|
|
|
|
|
2013-01-19 18:49:15 +01:00
|
|
|
protected
|
|
|
|
|
|
|
|
def user_team
|
2013-01-22 23:20:27 +01:00
|
|
|
@team ||= UserTeam.find_by_path(params[:team_id])
|
2013-01-22 21:58:44 +01:00
|
|
|
end
|
|
|
|
|
2013-01-19 18:49:15 +01:00
|
|
|
end
|