summaryrefslogtreecommitdiffstats
path: root/app/controllers/principal_memberships_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/principal_memberships_controller.rb')
-rw-r--r--app/controllers/principal_memberships_controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/principal_memberships_controller.rb b/app/controllers/principal_memberships_controller.rb
index 5cf8ff166..0ac150d71 100644
--- a/app/controllers/principal_memberships_controller.rb
+++ b/app/controllers/principal_memberships_controller.rb
@@ -18,9 +18,9 @@
class PrincipalMembershipsController < ApplicationController
layout 'admin'
- before_filter :require_admin
- before_filter :find_principal, :only => [:new, :create]
- before_filter :find_membership, :only => [:update, :destroy]
+ before_action :require_admin
+ before_action :find_principal, :only => [:new, :create]
+ before_action :find_membership, :only => [:update, :destroy]
def new
@projects = Project.active.all