Skip to content

Commit b82df1b

Browse files
committed
Improved bridgepdx theme, added LOCALCSS variable to force use of local styles even when run in production mode.
1 parent d86aef6 commit b82df1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/bridgepdx/layouts/application.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<% end %>
1313

1414
<!-- Stylesheets -->
15-
<% if %w[preview production].include?(RAILS_ENV) %>
15+
<% if %w[preview production].include?(RAILS_ENV) && ENV['LOCALCSS'].blank? %>
1616
<%= stylesheet_link_tag '/common/osbp_common_v3.css' %>
1717
<% else %>
1818
<%= theme_stylesheet_link_tag 'common_css/osbp_common_v3.css' %>

0 commit comments

Comments
 (0)