Files
fetsite/app/controllers/config_controller.rb
Andreas Stephanides f17b269458 Merge remote-tracking branch 'remotes/origin/master'
Conflicts:
	app/controllers/config_controller.rb
	app/views/config/index.html.erb
	config/routes.rb
2013-02-17 15:57:05 +01:00

13 lines
225 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