Files
fetsite/app/controllers/config_controller.rb
Andreas Stephanides 3d60580332 remove GIT part 1
2013-02-17 12:16:44 +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