Sha256: 3a421c327186f2a7ad1f565840912c9f7594cfd96272f0710564b348fb62a24c

Contents?: true

Size: 322 Bytes

Versions: 12

Compression:

Stored size: 322 Bytes

Contents

module Cadmus
  module Generators
    class ViewsGenerator < Rails::Generators::Base
      desc "Copies Cadmus views to your application."
      source_root File.expand_path("../../../../app/views/cadmus", __FILE__)
      
      def copy_views
        directory :pages, "app/views/cadmus/pages"
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
cadmus-0.7.1 lib/generators/cadmus/views_generator.rb
cadmus-0.7.0 lib/generators/cadmus/views_generator.rb
cadmus-0.6.0 lib/generators/cadmus/views_generator.rb
cadmus-0.5.3 lib/generators/cadmus/views_generator.rb
cadmus-0.5.2 lib/generators/cadmus/views_generator.rb
cadmus-0.5.1 lib/generators/cadmus/views_generator.rb
cadmus-0.5.0 lib/generators/cadmus/views_generator.rb
cadmus-0.4.8 lib/generators/cadmus/views_generator.rb
cadmus-0.4.7 lib/generators/cadmus/views_generator.rb
cadmus-0.4.6 lib/generators/cadmus/views_generator.rb
cadmus-0.4.4 lib/generators/cadmus/views_generator.rb
cadmus-0.4.3 lib/generators/cadmus/views_generator.rb