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
|
%h5 DEBUG INFO
|
||||||
#debug_more{ :style => "display:none;" }
|
#debug_more{ :style => "display:none;" }
|
||||||
%ul
|
%ul
|
||||||
|
%li
|
||||||
|
%b
|
||||||
|
= GIT_INFO
|
||||||
%li
|
%li
|
||||||
%b params
|
%b params
|
||||||
= params.inspect
|
= params.inspect
|
||||||
|
|
@ -14,3 +17,4 @@
|
||||||
%b websocket status
|
%b websocket status
|
||||||
#debug
|
#debug
|
||||||
.msg
|
.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