Sha256: 9cc93e9f37ea9dc7780903464b1ba9a4dec734ea57d2a4eefcfb6c8a0276c477

Contents?: true

Size: 348 Bytes

Versions: 8

Compression:

Stored size: 348 Bytes

Contents

require 'rails/generators'

module Enjoy::Cms
  class PaperclipOptimizerGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    desc 'Enjoy CMS paperclip_optimizer Config generator'
    def install
      template 'paperclip_optimizer.erb', "config/initializers/paperclip_optimizer.rb"
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enjoy_cms-0.4.1 lib/generators/enjoy/cms/paperclip_optimizer_generator.rb
enjoy_cms-0.4.0.5 lib/generators/enjoy/cms/paperclip_optimizer_generator.rb
enjoy_cms-0.4.0.4 lib/generators/enjoy/cms/paperclip_optimizer_generator.rb
enjoy_cms-0.4.0.3 lib/generators/enjoy/cms/paperclip_optimizer_generator.rb
enjoy_cms-0.4.0.2 lib/generators/enjoy/cms/paperclip_optimizer_generator.rb
enjoy_cms-0.4.0.1 lib/generators/enjoy/cms/paperclip_optimizer_generator.rb
enjoy_cms-0.4.0 lib/generators/enjoy/cms/paperclip_optimizer_generator.rb
enjoy_cms-0.4.0.beta3 lib/generators/enjoy/cms/paperclip_optimizer_generator.rb