Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

custom pages (i.e. login.haml) can't see sinatra helpers #3

Open
doubledare opened this issue May 24, 2010 · 0 comments
Open

custom pages (i.e. login.haml) can't see sinatra helpers #3

doubledare opened this issue May 24, 2010 · 0 comments

Comments

@doubledare
Copy link

if I create a login.haml page, then it doesn't have access to the helpers in sinatra/chowder or defined in the Sinatra application itself. I believe this is due to the login using Chowder::Basic which inherits directly from Sinatra::Base and which doesn't have the current Sinatra app in its inheritance chain.

Is there a method you use to patch the helpers back in?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant