mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
added git info (branch,date,author) to debug partial
This commit is contained in:
@@ -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`
|
||||
Reference in New Issue
Block a user