Link zum Update

This commit is contained in:
Andreas Stephanides
2013-02-16 11:39:37 +01:00
parent bcc6de5349
commit 6acd562297
3 changed files with 12 additions and 1 deletions

View File

@@ -2,5 +2,9 @@ class ConfigController < ApplicationController
def index
end
def get_git_update
g = Git.open(".")
flash[:notice] =g.remote("github").fetch
redirect_to url_for(:action => 'index', :controller => 'config')
end
end