Sha256: f0764d8bb1dd7555fd05cb1568053d3d2a7edf28f77876ddc2a24e7ed2f6a841
Contents?: true
Size: 542 Bytes
Versions: 31
Compression:
Stored size: 542 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
31 entries across 31 versions & 2 rubygems