Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rescue fix

  • Loading branch information...
commit 91a281867fa5960e14950d8c85b7cc38a750c7b3 1 parent eb5b476
Brian Armstrong authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/shared/_error_messages.html.erb
View
2  app/views/shared/_error_messages.html.erb
@@ -1,4 +1,4 @@
-<% if target.errors.any? rescue false %>
+<% if(target.errors.any? rescue false) %>
<div class="alert">
<% target.errors.full_messages.each do |msg| %>
<%= msg %><br/>
Please sign in to comment.
Something went wrong with that request. Please try again.