Sha256: fc286646b897fc3864019f01fdda349a0dae27b0bd7c031eb1cc890dee3eba47

Contents?: true

Size: 448 Bytes

Versions: 7

Compression:

Stored size: 448 Bytes

Contents

module Refinery
  class AuthenticationGenerator < Rails::Generators::Base
    source_root File.expand_path("../templates", __FILE__)

    def rake_db
      rake "refinery_authentication:install:migrations"
    end

    def generate_authentication_initializer
      template "config/initializers/refinery/authentication.rb.erb",
               File.join(destination_root, "config", "initializers", "refinery", "authentication.rb")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
refinerycms-authentication-2.1.5 lib/generators/refinery/authentication/authentication_generator.rb
refinerycms-authentication-2.1.4 lib/generators/refinery/authentication/authentication_generator.rb
refinerycms-authentication-2.1.3 lib/generators/refinery/authentication/authentication_generator.rb
refinerycms-authentication-2.1.2 lib/generators/refinery/authentication/authentication_generator.rb
refinerycms-authentication-2.1.1 lib/generators/refinery/authentication/authentication_generator.rb
refinerycms-authentication-2.1.0 lib/generators/refinery/authentication/authentication_generator.rb
refinerycms-authentication-2.0.10 lib/generators/refinery/authentication/authentication_generator.rb