resolve config_url problems

This commit is contained in:
Andreas Stephanides
2013-02-17 15:46:48 +01:00
parent 3d60580332
commit 5b8b419fa1
6 changed files with 11 additions and 14 deletions

View File

@@ -4,7 +4,8 @@ class ConfigController < ApplicationController
end
def get_git_update
g = Git.open(".")
flash[:notice] =g.remote("github").fetch
redirect_to url_for(:action => 'index', :controller => 'config')
flash[:notice] =g.status
# flash[:notice] =g.remote("github").fetch
redirect_to config_url
end
end