Sha256: 42ebe6e12fe73cade0e1db5ed879ea49ac4653b28ee401373c0544844928be9c
Contents?: true
Size: 529 Bytes
Versions: 6
Compression:
Stored size: 529 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, :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
6 entries across 6 versions & 1 rubygems