class BlameController

Controller for viewing a file’s blame

Public Instance Methods

show() click to toggle source
# File app/controllers/blame_controller.rb, line 12
def show
  @repo = @project.repo
  @blame = Grit::Blob.blame(@repo, @commit.id, @path)
end