Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

E-mail forms posts but there is not matching route #557

Closed
barnabyalter opened this Issue · 2 comments

3 participants

barnabyalter Justin Coyne Chris Beer
barnabyalter

I'm seeing an issue with the email routes.

192bf07

As of the above commit there is only a route specified for email_catalog via GET but the email form in bookmarks posts to catalog/email. I'm getting a no routes defined error in my local app and it looks like there is a 500 at the same function on the blacklight demo. Not sure that is the same issue in the demo, but I'd guess.

I injected a local route into my app

match 'catalog/email', :as => "email_catalog", :via => [:post, :get] 

which was a quick fix for me.

Justin Coyne
Owner
Chris Beer
Owner

I'm not sure, but I suspect we overload that method to show the email form and to send the email form.

Justin Coyne jcoyne closed this in 2eb87e7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.