Skip to content

Commit

Permalink
replace exists? with exist?
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Jan 31, 2025
1 parent 3cebf52 commit b2f760f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application.css.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
@import "bootstrap_overrides";


<% if (ui_theme = $UI_THEME.to_s.parameterize).present? && File.exists?(Rails.root.join('app', 'assets', 'stylesheets', 'themes', ui_theme)) %>
<% if (ui_theme = $UI_THEME.to_s.parameterize).present? && File.exist?(Rails.root.join('app', 'assets', 'stylesheets', 'themes', ui_theme)) %>
@import "themes/<%= ui_theme %>/main";
<% end %>

0 comments on commit b2f760f

Please sign in to comment.