-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Wiki missing route for update #2802
Comments
This route should work! https://github.com/publiclab/plots2/blob/master/config/routes.rb#L93 |
Oh sorry second issue. |
Moved second issue to #2803 |
I think this should be post: https://github.com/publiclab/plots2/blob/master/config/routes.rb#L104 |
Ugh, you'd imagine this'd be caught by:
|
Ugh, you'd imagine this'd be caught by
however i don't think functional tests go through routes at all! Not very useful... tests leading to a lot of redundancy! |
OK, added an integration test for this and solving... |
After rails 5 deployment wiki was not able to update.
To reproduce:
https://publiclab.org/w/sandbox-2
edit
try to save
[4a915bc2-682e-4ed5-8b86-a7ed91aa02b0] Started POST "/wiki/update/15029" for 190.42.17.93 at 2018-06-09 00:22:06 +0000
[4a915bc2-682e-4ed5-8b86-a7ed91aa02b0]
[4a915bc2-682e-4ed5-8b86-a7ed91aa02b0] ActionController::RoutingError (No route matches [POST] "/wiki/update/15029"):
[4a915bc2-682e-4ed5-8b86-a7ed91aa02b0]
You'll get a 404
The text was updated successfully, but these errors were encountered: