fix small stuff

This commit is contained in:
rulingcom committed 2025-08-04 21:20:08 +08:00
1 parent 77097850e0
commit bef8995307
3 files changed
+12 -12

No files matched your search

@@ -65,7 +65,7 @@ class UniversalTablesController < ApplicationController
cols << { "text" => text.to_s }
when "image"
text = ce.image&.thumb&.url ? (host_url + ce.image.thumb.url) : ""
text = ce.image.thumb.url ? (host_url + ce.image.thumb.url) : ""
cols << { "text" => text }
when "file"
@@ -4,9 +4,9 @@
<%= stylesheet_link_tag "lib/fileupload" %>
<%= stylesheet_link_tag "lib/main-list" %>
<%= stylesheet_link_tag "select2/select2" %>
<%= javascript_include_tag "select2/select2.min" %>
<% end %>
<% content_for :page_specific_javascript do %>
<%= javascript_include_tag "select2/select2.min" %>
<%= javascript_include_tag "lib/bootstrap-fileupload" %>
<%= javascript_include_tag "lib/bootstrap-datetimepicker" %>
<%= javascript_include_tag "lib/datetimepicker/datetimepicker.js" %>