Class: Deployed::GitController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Deployed::GitController
- 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_check ⇒ Object
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 |