Sha256: 315d4dcb710077aeab64ce6da4430ae9e36b70533d9834c3a891e9bb4f8fbab2

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

# frozen_string_literal: true

module Occams
  module Generators
    module Cms
      class ControllersGenerator < Rails::Generators::Base
        source_root File.expand_path(File.join(File.dirname(__FILE__), "../../../../app/controllers"))

        def generate_controllers
          directory "occams", "app/controllers/occams"
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
occams-1.0.1 lib/generators/occams/cms/controllers_generator.rb