Sha256: 038acfe4b9a1e36dcfc38ff500a652ae11a0f361033539447536d7e4eaee4325

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

module SimpleForum

  module Generators

    class InstallGenerator < Rails::Generators::Base

      source_root File.expand_path("../../templates", __FILE__)

      desc "Copies the simple_forum initializer."

      def copy_initializer
        template "simple_forum.rb", "config/initializers/simple_forum.rb"
      end

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_forum-0.0.2 lib/generators/simple_forum/install_generator.rb
simple_forum-0.0.1 lib/generators/simple_forum/install_generator.rb