Sha256: 45da5298e72bc85d298422a018261c851bc78661649782e93f7d98b341ec26e1

Contents?: true

Size: 453 Bytes

Versions: 4

Compression:

Stored size: 453 Bytes

Contents

require 'rails/generators/base'

#
# deploy view and locale assets
#
module Invitation
  module Generators
    class ControllersGenerator < Rails::Generators::Base
      source_root File.expand_path('../../../../..', __FILE__)

      def create_controllers
        directory 'app/controllers'
      end

      def create_mailers
        directory 'app/mailers'
      end

      def create_forms
        directory 'app/forms'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
invitation-0.6.1 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.6.0 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.5.1 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.5.0 lib/generators/invitation/controllers/controllers_generator.rb