module TidaConteTemplate #: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