Sha256: 09cf82a446969824637f672452be4e9da30e70ca60d1482fdb2712c12e1ae182
Contents?: true
Size: 437 Bytes
Versions: 12
Compression:
Stored size: 437 Bytes
Contents
module LinkThumbnailer module Generators class InstallGenerator < ::Rails::Generators::Base source_root File.expand_path('../../templates', __FILE__) desc 'Creates a LinkThumbnailer initializer for your application.' def install route "use_link_thumbnailer" end def copy_initializer template 'initializer.rb', 'config/initializers/link_thumbnailer.rb' end end end end
Version data entries
12 entries across 12 versions & 2 rubygems