aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alavetelitheme.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@garethrees.co.uk>2017-03-22 13:36:04 +0000
committerGareth Rees <gareth@garethrees.co.uk>2017-03-22 13:36:04 +0000
commit30f48c5d6c9b2f800e21eebb5a1dd56ff5241446 (patch)
treedcd2b0576b4e18ed15bd7c091c8fa25362e7ed5b /lib/alavetelitheme.rb
parenta9dfb2ea21181266984d01810ac5c458c500e381 (diff)
parent0dee8c3bd06dd8779500667018185fab6dcee04e (diff)
Merge branch 'master' into develop
Diffstat (limited to 'lib/alavetelitheme.rb')
-rw-r--r--lib/alavetelitheme.rb2
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