forked from bofh/fetsite
Merge remote-tracking branch 'remotes/origin/master'
Conflicts: app/controllers/config_controller.rb app/views/config/index.html.erb config/routes.rb
This commit is contained in:
@@ -4,8 +4,10 @@ class ConfigController < ApplicationController
|
||||
end
|
||||
def get_git_update
|
||||
g = Git.open(".")
|
||||
|
||||
flash[:notice] =g.status
|
||||
# flash[:notice] =g.remote("github").fetch
|
||||
redirect_to config_url
|
||||
|
||||
end
|
||||
end
|
||||
@@ -5,6 +5,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<%= link_to 'Update',config_getgitupdate_url %>
|
||||
<%= link_to 'Update',:controller =>"config",:action => "get_git_update" %>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user