-
Notifications
You must be signed in to change notification settings - Fork 637
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
ActionMailer Previews are not accessible #553
Comments
Note: also tried |
I don't know how mailer preview routing works, but I'm guessing it gets clobbered by the catch-all route. Edit: Also, also that wiki is not relevant for newer versions of CMS where you define globbing routing manually. Before CMS routing was magically injected and sometimes it would make your own routes inaccessible. So I'm thinking that ActionMailer magically injects routes at the end of your app routes. So any globbing route will break it. |
Yeah, it's Rails thing: rails/rails#17895 For now you can just redefine those routes before the CMS content serving route. |
Cool, thanks! |
With Rails 4.1 we now have mailer previews (http://edgeguides.rubyonrails.org/4_1_release_notes.html#action-mailer-previews), but I'm getting a 404:
ActionController::RoutingError (Page not found)
Commenting
comfy_route :cms, :path => '/', :sitemap => true
inroutes.rb
works, so this is means sofa is blocking access to it.The text was updated successfully, but these errors were encountered: