Class: ShaController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/sha_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
9
# File 'app/controllers/sha_controller.rb', line 5

def index
  sha   =   heroku_SHA || local_SHA
  @info =   {:sha => sha[0,10]}
  respond_with @info
end