added git info for development rails env

This commit is contained in:
nilsding 2014-12-28 19:45:49 +01:00
parent 774cf8df99
commit 3f24542410
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@
- if Rails.env.development? - if Rails.env.development?
%hr %hr
.container .container
%p
Current branch:
%code= `git rev-parse --abbrev-ref HEAD`
(commit
= succeed ')' do
= `git rev-parse --short HEAD`.strip
%p.text-danger Debug params: %p.text-danger Debug params:
= debug params = debug params