Sha256: da3b9acb5b5f5957ff2979092bf491eb18f62999a2fda1529c4b6b09d7d7e538

Contents?: true

Size: 326 Bytes

Versions: 22

Compression:

Stored size: 326 Bytes

Contents

module Pageflow
  module Generators
    class InitializerGenerator < Rails::Generators::Base
      desc "Install the pageflow initializer."

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

      def create_initializer
        template 'pageflow.rb', 'config/initializers/pageflow.rb'
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
pageflow-0.10.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.9.2 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.9.1 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.9.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.8.2 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.8.1 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.8.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.7.2 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.7.1 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.7.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.6.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.5.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.4.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.3.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.2.1 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.2.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.1.0 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.0.5 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.0.4 lib/generators/pageflow/initializer/initializer_generator.rb
pageflow-0.0.3 lib/generators/pageflow/initializer/initializer_generator.rb