Sha256: 7f4ae537f2d265715d6a7b14443ec0076d4421deec39b0358e3f043ab825b4fc

Contents?: true

Size: 389 Bytes

Versions: 8

Compression:

Stored size: 389 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
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
invitation-0.4.5 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.4.4 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.4.3 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.4.2 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.4.1 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.4 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.3 lib/generators/invitation/controllers/controllers_generator.rb
invitation-0.2 lib/generators/invitation/controllers/controllers_generator.rb