Skip to content

It's not possible to specify a particular layout for sinatra-authentication views #17

@fdiotalevi

Description

@fdiotalevi

I can't see any way to specify a specific layout for sinatra-authentication views. It would be useful to be able to.

My workaround is to monkeypatch the Helper module

module Sinatra
  module Helpers    
    def use_layout?
      return :authlayout
    end
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions