Fix enterprise index page 500

This commit is contained in:
Rohan Mitchell
2015-12-11 10:06:07 +11:00
parent ee447c9ce6
commit 9d5606a4fd
2 changed files with 31 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
module OpenFoodNetwork
class EnterpriseIssueValidator
include Rails.application.routes.url_helpers
include Spree::Core::UrlHelpers
def initialize(enterprise)