Sha256: c439cc9bdd4d279fc460ad49265c58117f9b4362dcd05ac6b237478dea4d5baa
Contents?: true
Size: 1.42 KB
Versions: 2
Compression:
Stored size: 1.42 KB
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 'single.html.erb', 'app/views/layouts/single.html.erb' copy_file 'navigation_renderers.rb', 'config/initializers/conte_navigation_renderers.rb' copy_file 'simple_navigation.rb', 'config/navigation.rb' copy_file 'wice_grid_config.rb', 'config/initializers/wice_grid_config.rb' copy_file 'wice_grid_local.yml', 'config/locales/wice_grid.yml' copy_file 'shared/_breadcrumbs.html.erb', 'app/views/shared/_breadcrumbs.html.erb' copy_file 'shared/_notification.html.erb', 'app/views/shared/_notification.html.erb' copy_file 'shared/_page_toolbar.html.erb', 'app/views/shared/_page_toolbar.html.erb' copy_file 'erb/scaffold/_form.html.erb', 'lib/templates/erb/scaffold/_form.html.erb' copy_file 'erb/scaffold/edit.html.erb', 'lib/templates/erb/scaffold/edit.html.erb' copy_file 'erb/scaffold/index.html.erb', 'lib/templates/erb/scaffold/index.html.erb' copy_file 'erb/scaffold/new.html.erb', 'lib/templates/erb/scaffold/new.html.erb' copy_file 'erb/scaffold/show.html.erb', 'lib/templates/erb/scaffold/show.html.erb' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
conte_rails_template-0.1.11 | lib/generators/conte_rails_template/install_generator.rb |
conte_rails_template-0.1.9 | lib/generators/conte_rails_template/install_generator.rb |