[openstreetmap/openstreetmap-website] Add functionality to return a specific message for zero hour blocks (#1443)

Simon Poole notifications at github.com
Sat Feb 18 15:12:37 UTC 2017

simonpoole commented on this pull request.

>          set_locale
-        report_error t("application.setup_user_auth.blocked"), :forbidden
+        if  @user.blocks.active.take.zero_hour?

Too much chatting at the hack weekend and committed before I had actually finished changing the code.  Sigh.

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...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170218/a07de95b/attachment.html>

More information about the rails-dev mailing list