Sha256: 3fab0ba949c018f6d5f6791132ba023cfa72dd9182abe680ce78d6651ef6d266

Contents?: true

Size: 333 Bytes

Versions: 10

Compression:

Stored size: 333 Bytes

Contents

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

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

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
refinerycms-resources-2.0.9 lib/generators/refinery/resources/resources_generator.rb
refinerycms-resources-2.0.8 lib/generators/refinery/resources/resources_generator.rb
refinerycms-resources-2.0.7 lib/generators/refinery/resources/resources_generator.rb
refinerycms-resources-2.0.6 lib/generators/refinery/resources/resources_generator.rb
refinerycms-resources-2.0.5 lib/generators/refinery/resources/resources_generator.rb
refinerycms-resources-2.0.4 lib/generators/refinery/resources/resources_generator.rb
refinerycms-resources-2.0.3 lib/generators/refinery/resources/resources_generator.rb
refinerycms-resources-2.0.2 lib/generators/refinery/resources/resources_generator.rb
refinerycms-resources-2.0.1 lib/generators/refinery/resources/resources_generator.rb
refinerycms-resources-2.0.0 lib/generators/refinery/resources/resources_generator.rb