Method: EffectiveResources::Generators::InstallGenerator#copy_application_templates

Defined in:
lib/generators/effective_resources/install_generator.rb

#copy_application_templatesObject



12
13
14
15
16
# File 'lib/generators/effective_resources/install_generator.rb', line 12

def copy_application_templates
  [:edit, :index, :new, :show].each do |file|
    template ('../' * 3) + "app/views/application/#{file}.html.haml", "app/views/application/#{file}.html.haml"
  end
end