Skip to content

Commit

Permalink
Edited GitWeb::Controllers::JSHighlight#get: changed text/css to text…
Browse files Browse the repository at this point in the history
…/javascript as is proper

Signed-off-by: Scott Chacon <[email protected]>
  • Loading branch information
devyn authored and schacon committed Dec 21, 2008
1 parent d6418a0 commit 89ba125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camping/gitweb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get

class JsHighlight < R '/js/highlight.js'
def get
@headers['Content-Type'] = 'text/css'
@headers['Content-Type'] = 'text/javascript'
inline_data(:js)
end
end
Expand Down

0 comments on commit 89ba125

Please sign in to comment.