Sha256: a5811990935e77f2deae51f6cbaba91dbbdb4dd97d69a11f122df25ff5e08ddd

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 Bytes

Contents

module ConteRailsTemplate #:nodoc:
  module Generators #:nodoc:
    class InstallGenerator < Rails::Generators::Base #:nodoc:

      source_root File.expand_path('../templates', __FILE__)

      def copy_stuff #:nodoc:
        copy_file 'layout.html.erb', 'app/views/layouts/application.html.erb'
        copy_file 'session.html.erb', 'app/views/layouts/single.html.erb'
      end

      def install_wice_grid
        generate "wice_grid:install"
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
conte_rails_template-0.0.8 lib/generators/conte_rails_template/install_generator.rb
conte_rails_template-0.0.7 lib/generators/conte_rails_template/install_generator.rb
conte_rails_template-0.0.6 lib/generators/conte_rails_template/install_generator.rb
conte_rails_template-0.0.5 lib/generators/install_generator.rb