diff --git a/app/controllers/team_members_controller.rb b/app/controllers/team_members_controller.rb index 27f40b5a07ffa61dd8fa6430fcc8632f6a6ad506..a50dcd3eaeb9a0c75a8174f7ed81076d51ae7a79 100644 --- a/app/controllers/team_members_controller.rb +++ b/app/controllers/team_members_controller.rb @@ -5,7 +5,10 @@ class TeamMembersController < ApplicationController # Authorize before_filter :add_project_abilities before_filter :authorize_read_project! - before_filter :authorize_admin_project!, except: [:show] + before_filter :authorize_admin_project!, except: [:index, :show] + + def index + end def show @team_member = project.users_projects.find(params[:id])