Sha256: 5bf591150199e9879fef01cf99e674c955df6a8bf289cb78d29fb4d62f360ea4
Contents?: true
Size: 543 Bytes
Versions: 53
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true module Decidim module System # Admins are the users in charge of managing a Decidim installation. class Admin < ApplicationRecord devise :database_authenticatable, :recoverable, :rememberable, :validatable validates :email, uniqueness: true private # Changes default Devise behaviour to use ActiveJob to send async emails. def send_devise_notification(notification, *args) devise_mailer.send(notification, self, *args).deliver_later end end end end
Version data entries
53 entries across 53 versions & 2 rubygems