Run rubocop --fix-layout and remove encoding comments
This commit is contained in:
parent
fa63e6e81d
commit
ea2862fdef
283 changed files with 1164 additions and 1969 deletions
|
|
@ -1,12 +1,11 @@
|
|||
class InvitesController < ApplicationController
|
||||
|
||||
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
|
||||
|
||||
|
||||
def create
|
||||
authenticate_membership_or_admin params[:invite][:group_id]
|
||||
@invite = Invite.new(params[:invite])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue