Vanna doesn't include helpers so we have to include them in views separately to use them. The absence of this line was producing a deprecation warning for error_messages_for, because our helper redefines that method (it was removed from rails).

This commit is contained in:
Sarah Mei 2011-07-14 18:24:33 -07:00
parent 3e7e2b4d2a
commit bcb4fac465

View file

@ -1,6 +1,7 @@
-self.extend AspectGlobalHelper -self.extend AspectGlobalHelper
-self.extend AspectsHelper -self.extend AspectsHelper
-self.extend ApplicationHelper -self.extend ApplicationHelper
-self.extend ErrorMessagesHelper
.span-13 .span-13
%h2 %h2
%span.notification_count{:class => ('unread' if @notification_count > 0)} %span.notification_count{:class => ('unread' if @notification_count > 0)}