[openstreetmap/openstreetmap-website] Small improvement to block status display (#1445)
notifications at github.com
Sun Feb 19 11:20:36 UTC 2017
tomhughes commented on this pull request.
> @@ -0,0 +1,43 @@
+# coding: utf-8
Yes, because the context there is `Object` so you wind up including the methods in `ApplicationHelper` into every single object in the system ;-)
It's not in `UserBlocksHelper` because that's a module that doesn't include it. But the things which include `UserBlocksHelper` at run time will have included it.
You should do what the browse and notes helper tests do and just include that inside the helper class.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev