Fix bug: New Post was broken
Fix bug: New Post was broken

Edit post action should tolerate post-not-found query result and make a
new post in that case. Therefore, we can't call getPostByUrl() for edit
post action, because it gives us 404.

This silly was introduced with e8167d50.

rtfb/rtfblog,rtfb/rtfblog,rtfb/rtfblog,rtfb/rtfblog,rtfb/rtfblog