Class: Sinatra::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mygithub/web/app.rb

Instance Method Summary collapse

Instance Method Details

#find_template(views, name, engine, &block) ⇒ Object

custom find_template from github.com/sinatra/sinatra/issues/48



29
30
31
# File 'lib/mygithub/web/app.rb', line 29

def find_template(views, name, engine, &block)
  [MY_VIEWS, views].each { |v| super(v, name, engine, &block) }
end