aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_general_controller.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-05-23 01:53:38 -0700
committerSeb Bacon <seb.bacon@gmail.com>2012-05-23 01:53:38 -0700
commit8300398b9f4666c102d6c205f1b94e00b8017014 (patch)
treebfecc1ae98ff202e4063714c267afde0692f1ca7 /app/controllers/admin_general_controller.rb
parent20b2a3c493d19b1ea66ba2605053af05f0595f7f (diff)
parent820e124c20865c17eeea2e17c5bb82da620ada5b (diff)
Merge pull request #493 from sebbacon/feature/merge-wombleton-sparkly-admin-css
Merge @wombleton sparkly admin css
Diffstat (limited to 'app/controllers/admin_general_controller.rb')
-rw-r--r--app/controllers/admin_general_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/admin_general_controller.rb b/app/controllers/admin_general_controller.rb
index e192d097c..43ca4f093 100644
--- a/app/controllers/admin_general_controller.rb
+++ b/app/controllers/admin_general_controller.rb
@@ -80,6 +80,7 @@ class AdminGeneralController < AdminController
def debug
@current_commit = `git log -1 --format="%H"`
@current_branch = `git branch | grep "\*" | awk '{print $2}'`
+ @current_version = `git describe --always --tags`
repo = `git remote show origin -n | grep Fetch | awk '{print $3}' | sed -re 's/.*:(.*).git/\\1/'`
@github_origin = "https://github.com/#{repo.strip}/tree/"
@request_env = request.env