Method: Gitgo::Controllers::Code#show_commit
- Defined in:
- lib/gitgo/controllers/code.rb
#show_commit(treeish) ⇒ Object
151 152 153 154 155 156 157 |
# File 'lib/gitgo/controllers/code.rb', line 151 def show_commit(treeish) commit = grit.commit(treeish) || not_found erb :diff, :locals => { :commit => commit, :treeish => treeish } end |