Change deprecated *_filter methods to *_action
This commit is contained in:
parent
bee671c90e
commit
2100c738af
39 changed files with 66 additions and 66 deletions
|
|
@ -1,8 +1,8 @@
|
|||
class InvitesController < ApplicationController
|
||||
|
||||
before_filter :authenticate_membership_or_admin_for_invites
|
||||
before_filter -> { require_config_disabled :disable_invite }
|
||||
|
||||
before_action :authenticate_membership_or_admin_for_invites
|
||||
before_action -> { require_config_disabled :disable_invite }
|
||||
|
||||
def new
|
||||
@invite = Invite.new(:user => @current_user, :group => @group)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue