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

[refresh] incorrect URL in routes for creating a Post #81

Open
mindscratch opened this issue Jun 2, 2012 · 2 comments
Open

[refresh] incorrect URL in routes for creating a Post #81

mindscratch opened this issue Jun 2, 2012 · 2 comments

Comments

@mindscratch
Copy link
Contributor

The routes file (https://github.com/NateW/obtvse/blob/refresh/config/routes.rb#L6) has

post '/edit/:id', :to => 'posts#update'

But it should be

post '/posts', :to => 'posts#create'
@chrisburnor
Copy link

This seems to work but it seems to cause the auto-save to break as all the autosaves create new posts.

@natew
Copy link
Owner

natew commented Jan 30, 2013

Will check this out this week, should be a pretty small fix.

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

No branches or pull requests

3 participants