lib/sasha/rails.rb in sasha-0.1.0 vs lib/sasha/rails.rb in sasha-0.1.1
- old
+ new
@@ -2,9 +2,9 @@
class Base
before_filter :set_git_sha_header
def set_git_sha_header
warn "No git found for current project" unless Sasha::Git.current_sha
- headers['X-Git-SHA'] = Sasha::Git.current_sha
+ headers[Sasha::HEADER_NAME] = Sasha::Git.current_sha
end
end
end