Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fdiotalevi opened this issue Apr 29, 2011 · 0 comments

Comments

@fdiotalevi
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant