module Sinatra::Partial

Constants

VERSION

Public Class Methods

registered(app) click to toggle source

This is here to allow configuration options to be set. @private

# File lib/sinatra/partial.rb, line 85
def self.registered(app)
  app.helpers(Partial::Helpers)
  
  # Configuration
  app.set :partial_underscores, false
  app.set :partial_template_engine, :haml
end