Don't use a setting to disable Padrino asset stamp

This commit is contained in:
Ben Hollis 2013-04-13 18:32:52 -07:00
parent e68c74b4f7
commit 6a5ecb17a3

View file

@ -22,15 +22,17 @@ module Middleman
app.helpers Helpers
app.config.define_setting :relative_links, false, 'Whether to generate relative links instead of absolute ones'
# Disable Padrino cache buster
app.set :asset_stamp, false
end
alias :included :registered
end
# The helpers
module Helpers
# Disable Padrino cache buster
def asset_stamp
false
end
# Output a stylesheet link tag based on the current path
#
# @return [String]