Sha256: efae8d80d3cff7f76bee751bfd5c3c98d31767ace34fa6cd4c0acec25b1e9ce6
Contents?: true
Size: 198 Bytes
Versions: 2
Compression:
Stored size: 198 Bytes
Contents
module SourceBrowser class ObjectsController < ApplicationController def show @path = params[:id] @object = git.object(@path) render body: @object.contents end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
source_browser-0.2.0 | app/controllers/source_browser/objects_controller.rb |
source_browser-0.1.0 | app/controllers/source_browser/objects_controller.rb |