Created
June 11, 2014 00:18
-
-
Save jvnill/414e4dd75297de6307b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I want to use `/blog` as the url but I created a `PostsController` so I have to set the `path` option in the routes. | |
resources :posts, path: '/blog' | |
This is working fine in development but when I deploy it to heroku, I get a 500. The logs doesn't seem helpful at all, you'll get the normal log like the one below but the status is 500 so I'm a bit lost on the cause of the issue | |
at=info method=GET path=/path_name host=www.example.com request_id=some-random-numbers-here fwd="xxx.xxx.xxx.xxx" dyno=web.1 connect=2ms service=95ms status=500 bytes=37419 | |
And yep, I'm using a custom url so that may also be part of the issue. What I did to fix it was to change the posts controller to a blog controller. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment