Files
fetsite/app/controllers/config_controller.rb
Andreas Stephanides 6acd562297 Link zum Update
2013-02-16 11:39:37 +01:00

10 lines
236 B
Ruby

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