lib/frontview/contents/alerts_content.rb in frontview-1.1.2 vs lib/frontview/contents/alerts_content.rb in frontview-2.0.0

- old
+ new

@@ -2,12 +2,12 @@ module Contents class AlertsContent < Rails::Generators::Base def write_in_alerts_file File.open("app/views/shared/_alerts.html.erb", "w+") { |file| file.puts( -'<p class="notice"><%= notice %></p> -<p class="alert"><%= alert %></p>' - ) + '<p class="notice"><%= notice %></p> + <p class="alert"><%= alert %></p>' + ) } end end end end