lib/templates/lib/app.rb.eruby in skellington-0.4.6 vs lib/templates/lib/app.rb.eruby in skellington-0.4.8
- old
+ new
@@ -10,9 +10,11 @@
helpers do
include <%= @gen.camelname %>::Helpers
end
get '/' do
+ headers 'Vary' => 'Accept'
+
respond_to do |wants|
wants.html do
@content = '<h1>Hello from <%= @gen.camelname %></h1>'
@title = '<%= @gen.camelname %>'
erb :index, layout: :default