Sha256: 7927758f98b782c7af3e536402ff1d1520d2637c8dbdfc9ae4b698ab372ab128

Contents?: true

Size: 394 Bytes

Versions: 5

Compression:

Stored size: 394 Bytes

Contents

require 'rails/generators/migration'

module BulutfonDashboard
  module Generators
    class InitializersGenerator < ::Rails::Generators::Base
      source_root File.expand_path('../../templates/initializers', __FILE__)
      desc 'add the initializers'

      def copy_migrations
        template 'bulutfon_dashboard.rb', 'config/initializers/bulutfon_dashboard.rb'
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bulutfon_dashboard-0.7.4 lib/generators/bulutfon_dashboard/initializers_generator.rb
bulutfon_dashboard-0.7.3 lib/generators/bulutfon_dashboard/initializers_generator.rb
bulutfon_dashboard-0.7.2 lib/generators/bulutfon_dashboard/initializers_generator.rb
bulutfon_dashboard-0.7.1 lib/generators/bulutfon_dashboard/initializers_generator.rb
bulutfon_dashboard-0.7.0 lib/generators/bulutfon_dashboard/initializers_generator.rb