forked from bofh/fetsite
Conflicts: app/controllers/config_controller.rb app/views/config/index.html.erb config/routes.rb
13 lines
225 B
Ruby
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 |