diff options
Diffstat (limited to 'app/controllers/controller_extension')
-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 |