Skip to main content

serve_entry_preview

Function serve_entry_preview 

Source
pub fn serve_entry_preview(
    connection: &mut PgConnection,
    corpus_name: String,
    service_name: String,
    entry_name: String,
) -> Result<Template, NotFound<String>>
Expand description

Serves an entry as a Template instance to be preview via a client-side asset renderer, over the caller-supplied (pooled) connection.