lib/pah/partials/_layout.rb in pah-0.0.12 vs lib/pah/partials/_layout.rb in pah-0.0.13

- old
+ new

@@ -1,9 +1,8 @@ -puts "Adding layout files ...".magenta - copy_static_file 'app/views/layouts/application.html.haml' copy_static_file 'app/views/application/_error_messages.html.haml' copy_static_file 'app/views/application/_flash_messages.html.haml' -git :add => '.' -git :commit => "-aqm 'Add layout files.'" -puts "\n" +gsub_file 'app/views/layouts/application.html.haml', /= page_title(app_name: 'example')/, "= page_title(app_name: '#{@app_name}')" + +git add: 'app/views/' +git_commit 'Add layout files.' \ No newline at end of file