• Mark Chao's avatar
    Make Highlight accept language param · ca82a46a
    Mark Chao authored
    This replaces the repository param.
    This allows more flexiblity as sometimes we have highlight content
    not related to repository. Sometimes we know ahead of time the language
    of the content. Lastly language determination seems better fit as a
    logic in the Blob class.
    `repository` param is only used to determine the language, which seems
    to be the responsiblity of Blob.
    ca82a46a
blob_controller.rb 8.83 KB