Sha256: 27e95cb369c01e16f13a640e4c90d417d88bcb58b2399a83f31541c978975dfd

Contents?: true

Size: 318 Bytes

Versions: 9

Compression:

Stored size: 318 Bytes

Contents

require 'rails/generators'

module HelpCenter
  module Generators
    class ControllersGenerator < Rails::Generators::Base
      source_root File.expand_path("../../../..", __FILE__)

      def copy_controllers
        directory 'app/controllers/help_center', 'app/controllers/help_center'
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
help_center-0.1.0 lib/generators/help_center/controllers_generator.rb
help_center-0.0.9 lib/generators/help_center/controllers_generator.rb
help_center-0.0.8 lib/generators/help_center/controllers_generator.rb
help_center-0.0.7 lib/generators/help_center/controllers_generator.rb
help_center-0.0.6 lib/generators/help_center/controllers_generator.rb
help_center-0.0.4 lib/generators/help_center/controllers_generator.rb
help_center-0.0.3 lib/generators/help_center/controllers_generator.rb
help_center-0.0.2 lib/generators/help_center/controllers_generator.rb
help_center-0.0.1 lib/generators/help_center/controllers_generator.rb