Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 19, 2011
  1. @rkh

    capitalize heading

    rkh authored
  2. @rkh
  3. @rkh
Commits on Feb 17, 2011
  1. @rkh
Commits on Jan 11, 2011
  1. @rkh
  2. @rkh

    make paths in example consistent

    rkh authored
  3. @rkh
  4. @rkh
  5. @rkh
  6. @rkh
  7. @rkh
  8. @rkh
  9. @rkh

    README formatting adjustments

    rkh authored
  10. @rkh

    Add BlueCloth example to README.

    rkh authored
  11. @rkh
Commits on Jan 10, 2011
  1. @rkh
  2. @burningTyger @rkh

    added disable :layout by default

    burningTyger authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Dec 14, 2010
  1. @kryzhovnik @rkh

    README.* fixed typos

    kryzhovnik authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
  2. @andrewhampton @rkh

    Fix typo in middleware example.

    andrewhampton authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Oct 24, 2010
  1. @nouse @rkh

    fix a minor spell mistake

    nouse authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Oct 19, 2010
  1. @burningTyger @rkh

    You still need the haml gem for sass/scss. However, this will change …

    burningTyger authored rkh committed
    …soon.
    
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Oct 12, 2010
  1. @rkh
  2. @rkh
  3. @rkh

    Minor markup fix in README.

    rkh authored
Commits on Oct 11, 2010
  1. @rkh

    Fix typo in README.

    Lee Jarvis authored rkh committed
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
  2. @rkh

    Fix markup

    rkh authored
  3. @rkh
Commits on Oct 10, 2010
  1. @rkh

    Add nokogiri helper method. Tilt supports Nokogiri for quite some tim…

    rkh authored
    …e now, but it was not as easy to use as builder, and not documented. Tests and documentation included.
Commits on Oct 9, 2010
  1. @rkh

    Merge branch 'smart-templates'

    rkh authored
  2. @gnandretta @rkh

    fixes a few copy/paste errors in the README

    gnandretta authored rkh committed
    You'll to require 'redcloth' or 'rdoc' instead of 'markdown' for Textile
    or RDoc templates, respectively.
    
    Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
Commits on Sep 27, 2010
  1. @rkh

    Sets default content type according to template engine used instead o…

    rkh authored
    …f just text/html.
    
    It does so by including a Mixin into the the returned string offering a content_type method. Therefore all of the following examples produce the expected results:
    
        # text/html
        get('/') do
          haml :index
        end
    
        # text/css
        get('/') do
          sass :index
        end
    
        # text/css
        get('/') do
          haml :index
          sass :index
        end
    
        # text/html
        get('/') do
          haml '= sass :index'
        end
    
    It also allows setting the default content type for a template engine:
    
        set :builder, :content_type => :html
    
    Tests and README adjustments (all languages) included.
Commits on Sep 24, 2010
  1. @rkh

    Minor README adjustments.

    rkh authored
  2. @rkh
  3. @rkh

    Remove Sinatra::Delegator sidebar (now covered by Scopes), keep "Have…

    rkh authored
    … a look at the code for yourself" paragraph, but move it into Scopes.
  4. @rkh

    Proof-reading Scopes section

    rkh authored
Something went wrong with that request. Please try again.