Merge pull request #3174 from kevinchristianson/footer-url-fix

Fix broken registration link in footer
This commit is contained in:
Pau Pérez Fabregat
2018-12-14 15:42:08 +01:00
committed by GitHub

View File

@@ -1,6 +1,10 @@
.alert-cta
%h6
%a{href: registration_path, target: "_blank"}
-# Please forgive the hard-coded link:
-# The more elegant 'registration_path' resolves to /signup due to spree_auth_device > config > routes.rb
-# This is one of several possible fixes. Long-term, we'd like to bring the accounts page into OFN.
-# View the discussion here: https://github.com/openfoodfoundation/openfoodnetwork/pull/3174
%a{href: "/register", target: "_blank"}
= t '.selling_on_ofn'
 
%strong