Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManifestHelper needs a host in production. #177

Closed
jcoyne opened this issue May 19, 2016 · 0 comments
Closed

ManifestHelper needs a host in production. #177

jcoyne opened this issue May 19, 2016 · 0 comments

Comments

@jcoyne
Copy link
Member

jcoyne commented May 19, 2016

When viewing http://baz.demo.hydrainabox.org/concern/generic_works/8g84mm241/manifest.json I get a 500 ISE. Stack:

NoMethodError (undefined method `[]' for nil:NilClass):
  app/builders/manifest_helper.rb:11:in `host'
  app/builders/manifest_helper.rb:6:in `polymorphic_url'
  app/presenters/curation_concerns/generic_work_show_presenter.rb:3:in `manifest_url'
  app/controllers/curation_concerns/generic_works_controller.rb:16:in `block (2 levels) in manifest'
  app/controllers/curation_concerns/generic_works_controller.rb:15:in `manifest'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant