Sha256: f4d2e654949954eca37a300172a00fb37382d50864be8d7be3923259271a2c13

Contents?: true

Size: 408 Bytes

Versions: 1

Compression:

Stored size: 408 Bytes

Contents

require "mercury/engine"

module Mercury
  module Generators
    module Install
      class AuthenticationGenerator < Rails::Generators::Base
        source_root Mercury::Engine.root

        desc "Installs an authentication example so you can restrict access to editing."

        def copy_authentication_overrides
          copy_file 'lib/mercury/authentication.rb'
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kiteditor-1.0.12 lib/generators/mercury/install/authentication/authentication_generator.rb