Class: Decidim::InviteUserToGroupForm

Inherits:
Form
  • Object
show all
Defined in:
app/forms/decidim/invite_user_to_group_form.rb

Overview

The form object that handles the data behind creating a user group.

Instance Method Summary collapse

Instance Method Details

#userObject



13
14
15
# File 'app/forms/decidim/invite_user_to_group_form.rb', line 13

def user
  @user ||= Decidim::User.find_by(nickname: clean_nickname, organization: current_organization)
end