Sha256: 30e8fb0009129c9ae67e1ec45b5089cc82f9c10a7e50b6a49efd8b0177033f4e

Contents?: true

Size: 377 Bytes

Versions: 8

Compression:

Stored size: 377 Bytes

Contents

require 'rails/generators/base'

#
# deploy view and locale assets
#
module Authenticate
  module Generators
    class ViewsGenerator < Rails::Generators::Base
      source_root File.expand_path("../../../../..", __FILE__)

      def create_views
        directory 'app/views'
      end

      def create_locales
        directory 'config/locales'
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
invitation-0.0.2 lib/generators/invitation/views/views_generator.rb
invitation-0.0.1 lib/generators/invitation/views/views_generator.rb
authenticate-0.3.1 lib/generators/authenticate/views/views_generator.rb
authenticate-0.3.0 lib/generators/authenticate/views/views_generator.rb
authenticate-0.2.3 lib/generators/authenticate/views/views_generator.rb
authenticate-0.2.2 lib/generators/authenticate/views/views_generator.rb
authenticate-0.2.1 lib/generators/authenticate/views/views_generator.rb
authenticate-0.2.0 lib/generators/authenticate/views/views_generator.rb