Files
fetsite/app/controllers/config_controller.rb
2013-02-17 15:46:48 +01:00

11 lines
223 B
Ruby

class ConfigController < ApplicationController
def index
end
def get_git_update
g = Git.open(".")
flash[:notice] =g.status
# flash[:notice] =g.remote("github").fetch
redirect_to config_url
end
end