def edit
      core__set_header_active_page_title(LANGUAGES[:lato_blog][:pages][:posts_edit])
      @post = LatoBlog::Post.find_by(id: params[:id])
      return unless check_post_presence

      if @post.meta_language != cookies[:lato_blog__current_language]
        set_current_language @post.meta_language
      end

      fetch_external_objects
    end
def edit
      core__set_header_active_page_title(LANGUAGES[:lato_blog][:pages][:posts_edit])
      @post = LatoBlog::Post.find_by(id: params[:id])
      return unless check_post_presence

      if @post.meta_language != cookies[:lato_blog__current_language]
        set_current_language @post.meta_language
      end

      fetch_external_objects
    end
This function show the view to edit a post.