Skip to content
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

Fixed the single post route. #16

Closed
wants to merge 1 commit into from

Conversation

woffleloffle
Copy link

Single posts would error when hit directly in the browser.
This fix changes the route from /posts/:id to /post/:id
in the routing table as well as the React component.

Fixes #15

Single posts would error when hit directly in the browser.
This fix changes the route from /posts/:id to /post/:id
in the routing table as well as the React component.
@sghall
Copy link

sghall commented Mar 17, 2015

+1 This PR corrects the issue. The server crashed on refresh without this fix for me.

@chrisngobanh
Copy link

+1 This fixes it for me as well.

@woffleloffle
Copy link
Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

callback(): TypeError: string is not a function
3 participants