added git info (branch,date,author) to debug partial
This commit is contained in:
parent
9997493c45
commit
ae83dae1ca
2 changed files with 10 additions and 0 deletions
|
|
@ -7,6 +7,9 @@
|
|||
%h5 DEBUG INFO
|
||||
#debug_more{ :style => "display:none;" }
|
||||
%ul
|
||||
%li
|
||||
%b
|
||||
= GIT_INFO
|
||||
%li
|
||||
%b params
|
||||
= params.inspect
|
||||
|
|
@ -14,3 +17,4 @@
|
|||
%b websocket status
|
||||
#debug
|
||||
.msg
|
||||
|
||||
|
|
|
|||
6
config/initializers/git_info.rb
Normal file
6
config/initializers/git_info.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2010, Diaspora Inc. This file is
|
||||
# licensed under the Affero General Public License version 3. See
|
||||
# the COPYRIGHT file.
|
||||
|
||||
|
||||
GIT_INFO = `git show`
|
||||
Loading…
Reference in a new issue