Skip to content

Invalid plug layout option #168

Closed
Closed
@scorsi

Description

Hey,

I figure out that my torch pages where extending from my root layout. Doing plug :put_root_layout, {WerewolfWeb.LayoutView, :torch} instead of plug :put_layout, {WerewolfWeb.LayoutView, :torch} avoid having the main layout in addition to the torch's one.

It would be good to show how to do a better plug layout like here in the documentation. ;)

Thanks,

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions