chowder icon indicating copy to clipboard operation
chowder copied to clipboard

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

Open doubledare opened this issue 15 years ago • 0 comments

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?

doubledare avatar May 24 '10 08:05 doubledare