Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

ActionController::RoutingError presents a 500 error #89

Open
artero opened this issue Jul 17, 2018 · 3 comments
Open

ActionController::RoutingError presents a 500 error #89

artero opened this issue Jul 17, 2018 · 3 comments
Labels
Projects

Comments

@artero
Copy link
Member

artero commented Jul 17, 2018

ActionController::RoutingError error should present 404,

def set_error_handling

Probably the problem is in the routes:
https://gist.github.com/joneslee85/f2b4565949f7c988c9481b3c5dc15dba

@oriolbcn
Copy link

I think the problems is in that the errors controllers can't render the views because they don't exist

@xredo
Copy link
Member

xredo commented Jul 24, 2018

I agree with Oriol. If we add this error handling code we need to add a default view for 404 and 500 errors.

@artero
Copy link
Member Author

artero commented Jul 24, 2018

Yes, I tested and the problem is because the views are not created. I agree with you, the views should be created or we should delete this method.

@xredo xredo added this to Inbox in PathFinder Oct 9, 2018
@xredo xredo moved this from Inbox to Planned in PathFinder Oct 9, 2018
@xredo xredo added the bug label Oct 9, 2018
@dvdgs88 dvdgs88 moved this from Planned to In Progress in PathFinder Oct 19, 2018
@dvdgs88 dvdgs88 assigned dvdgs88 and unassigned dvdgs88 Oct 19, 2018
@pablorc pablorc assigned pablorc and unassigned pablorc Oct 19, 2018
@pablorc pablorc moved this from In Progress to Planned in PathFinder Oct 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
PathFinder
Planned
Development

No branches or pull requests

5 participants