class CommitHash::CommitController
Public Instance Methods
show()
click to toggle source
# File lib/commit_hash/commit_controller.rb, line 2 def show commit = ENV['RELEASE_COMMIT'] if commit render plain: commit, status: 200 else render plain: "ENV['RELEASE_COMMIT'] => nil", status: 500 end end