Sha256: b6432e4f6089d15d1a4e267da0860e445d0f810b819c64889d5c79cae93a5951

Contents?: true

Size: 376 Bytes

Versions: 10

Compression:

Stored size: 376 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

10 entries across 10 versions & 1 rubygems

Version Path
authenticate-0.7.3 lib/generators/authenticate/views/views_generator.rb
authenticate-0.7.2 lib/generators/authenticate/views/views_generator.rb
authenticate-0.7.1 lib/generators/authenticate/views/views_generator.rb
authenticate-0.7.0 lib/generators/authenticate/views/views_generator.rb
authenticate-0.6.1 lib/generators/authenticate/views/views_generator.rb
authenticate-0.6.0 lib/generators/authenticate/views/views_generator.rb
authenticate-0.5.0 lib/generators/authenticate/views/views_generator.rb
authenticate-0.4.0 lib/generators/authenticate/views/views_generator.rb
authenticate-0.3.3 lib/generators/authenticate/views/views_generator.rb
authenticate-0.3.2 lib/generators/authenticate/views/views_generator.rb