瀏覽代碼

Fixed highlighting

Andrew Kane 8 年之前
父節點
當前提交
cebee37278
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/views/blazer/queries/show.html.erb

+ 1 - 1
app/views/blazer/queries/show.html.erb

@@ -172,7 +172,7 @@
   </script>
 <% end %>
 
-<% if Blazer.data_sources[@query.data_source].adapter == "activerecord" %>
+<% if Blazer.data_sources[@query.data_source].adapter == "sql" %>
   <script>
     // do not highlight really long queries
     // this can lead to performance issues