Commit b9a7bcb6 authored by Andrey Kumanyaev's avatar Andrey Kumanyaev Committed by Dmitriy Zaporozhets

add teams application controller

parent 3c6e1446
class Teams::ApplicationController < ApplicationController
before_filter :user_team, only: [:index, :show, :edit, :update, :destroy, :issues, :merge_requests, :search, :members]
protected
def user_team
@user_team ||= UserTeam.find_by_path(params[:team_id])
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment