Sha256: 1b4b95a09005a9fc37fdffbbab71ac58a334a56d9e996d322f6d2d61f3560ecb

Contents?: true

Size: 577 Bytes

Versions: 3

Compression:

Stored size: 577 Bytes

Contents

# frozen_string_literal: true

Rails.application.config.to_prepare do
  require "alchemy/devise/ability"

  Alchemy.register_ability(Alchemy::Devise::Ability)

  Alchemy::Modules.register_module({
    name: "users",
    engine_name: "alchemy",
    position: 4.1,
    navigation: {
      name: "modules.users",
      controller: "/alchemy/admin/users",
      action: "index",
      icon: "users",
    },
  })

  Alchemy.signup_path = "/admin/signup"
  Alchemy.login_path = "/admin/login"
  Alchemy.logout_path = "/admin/logout"
  Alchemy.logout_method = Devise.sign_out_via
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy-devise-6.2.0 config/initializers/alchemy.rb
alchemy-devise-6.1.0 config/initializers/alchemy.rb
alchemy-devise-6.0.0 config/initializers/alchemy.rb