Commit 0e62b1cb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

preserve for code browse

parent 088860de
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
.view_file_content .view_file_content
- unless file.empty? - unless file.empty?
%div{:class => current_user.dark_scheme ? "black" : "white"} %div{:class => current_user.dark_scheme ? "black" : "white"}
:erb = preserve do
<%= raw file.colorize %> = raw file.colorize
- else - else
%h3 %h3
%center Empty file %center Empty file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment