diff options
author | Gareth Rees <gareth@garethrees.co.uk> | 2017-03-22 13:36:04 +0000 |
---|---|---|
committer | Gareth Rees <gareth@garethrees.co.uk> | 2017-03-22 13:36:04 +0000 |
commit | 30f48c5d6c9b2f800e21eebb5a1dd56ff5241446 (patch) | |
tree | dcd2b0576b4e18ed15bd7c091c8fa25362e7ed5b /lib/alavetelitheme.rb | |
parent | a9dfb2ea21181266984d01810ac5c458c500e381 (diff) | |
parent | 0dee8c3bd06dd8779500667018185fab6dcee04e (diff) |
Merge branch 'master' into develop
Diffstat (limited to 'lib/alavetelitheme.rb')
-rw-r--r-- | lib/alavetelitheme.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb index c245617..0658142 100644 --- a/lib/alavetelitheme.rb +++ b/lib/alavetelitheme.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- theme_name = File.split(File.expand_path("../..", __FILE__))[1] theme_name.gsub!('-', '_') THEME_NAME = theme_name @@ -38,6 +39,7 @@ $alaveteli_route_extensions << 'custom-routes.rb' ['stylesheets', 'images', 'javascripts'].each do |asset_type| theme_asset_path = File.join(File.dirname(__FILE__), '..', + 'app', 'assets', asset_type) Rails.application.config.assets.paths.unshift theme_asset_path |