Posted By

benjaminpearson on 11/07/09


Tagged

ajax ruby haml sinatra


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

dfmoser


Sinatra Ajax Layout


 / Published in: Other
 

  1. get '/' do
  2. haml :index, :layout => !request.xhr?
  3. end

Report this snippet  

You need to login to post a comment.