Permalink
Browse files

add the revision currently running on

  • Loading branch information...
1 parent a1755a1 commit ab8f75c5b6915ad43a7688431ce02d61759700b0 @phoet committed Jul 6, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 app/views/shared/_info.html.haml
  2. +1 −0 config/initializers/constants.rb
View
2 app/views/shared/_info.html.haml
@@ -1 +1 @@
-<!-- ruby-#{RUBY_VERSION}-#{RUBY_PATCHLEVEL} on rails-#{Rails.version} -->
+<!-- ruby-#{RUBY_VERSION}-#{RUBY_PATCHLEVEL} on rails-#{Rails.version} at commit #{APP_GIT_VERSION} -->
View
1 config/initializers/constants.rb
@@ -0,0 +1 @@
+APP_GIT_VERSION = `git rev-parse HEAD`.chomp

0 comments on commit ab8f75c

Please sign in to comment.