Skip to content

Business intelligence made simple

Fixed highlighting

Andrew Kanecebee37278a1
diff --git a/app/views/blazer/queries/show.html.erb b/app/views/blazer/queries/show.html.erb
index 4bcda230..8cc4d452 100644
--- a/app/views/blazer/queries/show.html.erb
+++ b/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