module Sinatra::Exstatic

A Sinatra extension for helping with static assets. You probably want to start with {Helpers}.

Constants

VERSION

Library version

Public Class Methods

registered(app) click to toggle source

Extending @see {Sinatra::Exstatic::Formats} to extend timestamp_format

# File lib/sinatra/exstatic_assets.rb, line 340
def self.registered(app)
  app.helpers Exstatic::Helpers
  app.disable :xhtml
  app.set :static_assets_dir, nil
  app.set :timestamp_format, :mtime_int
end