Class: Deployed::GitController

Inherits:
ApplicationController show all
Defined in:
app/controllers/deployed/git_controller.rb

Overview

Provides a git status check to see if we are deploying uncommitted changes

Instance Method Summary collapse

Instance Method Details

#uncommitted_checkObject



6
7
8
9
# File 'app/controllers/deployed/git_controller.rb', line 6

def uncommitted_check
  @git_status = `git status --porcelain`
  respond_to(&:html)
end