obtvse icon indicating copy to clipboard operation
obtvse copied to clipboard

[refresh] incorrect URL in routes for creating a Post

Open mindscratch opened this issue 12 years ago • 2 comments

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'

mindscratch avatar Jun 02 '12 02:06 mindscratch

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

chrisburnor avatar Aug 06 '12 06:08 chrisburnor

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

natew avatar Jan 30 '13 16:01 natew