Don't cache bust in production

This commit is contained in:
Raphael Sofaer 2011-08-02 16:48:30 -07:00
parent ce959b62a9
commit 25bf4ce074

View file

@ -7,4 +7,5 @@ git_cmd = `git log -1 --pretty="format:%H %ci"`
if git_cmd =~ /^([\d\w]+?)\s(.+)$/
AppConfig[:git_revision] = $1
AppConfig[:git_update] = $2.strip
ENV["RAILS_ASSET_ID"] = AppConfig[:git_revision][0..8] if Rails.env.production?
end