Sha256: bb96cbfdc2262cf35649a6106289cd6bbd1a649936fbe7b2d13e64e7c5ad28d8

Contents?: true

Size: 310 Bytes

Versions: 5

Compression:

Stored size: 310 Bytes

Contents

require 'rails/generators'

module Enjoy::News::Config
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    desc 'Enjoy::News Config generator'
    def install
      template 'enjoy_news.erb', "config/initializers/enjoy_news.rb"
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enjoy_cms_news-0.4.1 lib/generators/enjoy/news/config/install_generator.rb
enjoy_cms_news-0.4.0.2 lib/generators/enjoy/news/config/install_generator.rb
enjoy_cms_news-0.4.0.1 lib/generators/enjoy/news/config/install_generator.rb
enjoy_cms_news-0.4.0 lib/generators/enjoy/news/config/install_generator.rb
enjoy_cms_news-0.4.0.beta3 lib/generators/enjoy/news/config/install_generator.rb