def destroy
      post = Blogo::Post.where(permalink: params[:id]).first!
      Blogo::DestroyPostService.new(post).destroy!

      flash[:notice] = I18n.translate('blogo.admin.post_removed')
      redirect_to blogo_admin_posts_path
    end
def destroy
      post = Blogo::Post.where(permalink: params[:id]).first!
      Blogo::DestroyPostService.new(post).destroy!

      flash[:notice] = I18n.translate('blogo.admin.post_removed')
      redirect_to blogo_admin_posts_path
    end
DELETE /admin/posts/:id