Skip to content

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

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

3 participants

@mindscratch

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

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

@natew
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
Something went wrong with that request. Please try again.