Sha256: d9098ac71eb32d2110f1288ee6c08624cf55d611d30a4d2ec21fac253f662492
Contents?: true
Size: 256 Bytes
Versions: 1
Compression:
Stored size: 256 Bytes
Contents
module ActionController 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[Sasha::HEADER_NAME] = Sasha::Git.current_sha end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sasha-0.1.1 | lib/sasha/rails.rb |