Commit 14f170ac15d3d11db063ea4cb74e839c42dafef2
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'rails3' into rails3_stable
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
@@ -671,7 +671,7 @@ module ApplicationHelper | @@ -671,7 +671,7 @@ module ApplicationHelper | ||
671 | 671 | ||
672 | def theme_javascript_ng | 672 | def theme_javascript_ng |
673 | script = File.join(theme_path, 'theme.js') | 673 | script = File.join(theme_path, 'theme.js') |
674 | - if File.exists?(Rails.root.join('public', script)) | 674 | + if File.join(Rails.root, 'public', script) |
675 | javascript_include_tag script | 675 | javascript_include_tag script |
676 | else | 676 | else |
677 | nil | 677 | nil |