Return to Snippet

Revision: 20096
at November 7, 2009 07:47 by benjaminpearson


Updated Code
get '/' do
  haml :index, :layout => !request.xhr?
end

Revision: 20095
at November 7, 2009 07:46 by benjaminpearson


Initial Code
get '/' do
  haml :index, :layout => !request.xhr?
end

Initial URL

                                

Initial Description

                                

Initial Title
Sinatra Ajax Layout

Initial Tags
ajax, ruby

Initial Language
Other