diff options
author | Azul <azul@leap.se> | 2014-05-29 14:57:23 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-05-29 14:57:23 +0200 |
commit | ab49a72b52575f3b9fdf13fee47e99dfb82e2a3d (patch) | |
tree | 3e5424cf354080064a92ad07e5bc5396a9d01516 /app/controllers | |
parent | df1c2438fcfe39edfb46546be8fcee5021f95fc3 (diff) |
html5: <br> instead of <br/>
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/controller_extension/flash.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/controller_extension/flash.rb b/app/controllers/controller_extension/flash.rb index 8bc9ee7..1642141 100644 --- a/app/controllers/controller_extension/flash.rb +++ b/app/controllers/controller_extension/flash.rb @@ -37,7 +37,7 @@ module ControllerExtension::Flash def add_flash_errors_for(resource) return if resource.valid? - flash[:error] += "<br/>" - flash[:error] += resource.errors.full_messages.join(". <br/>") + flash[:error] += "<br>" + flash[:error] += resource.errors.full_messages.join(". <br>") end end |