aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/alavetelitheme.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb
index 8476e90..c8611d5 100644
--- a/lib/alavetelitheme.rb
+++ b/lib/alavetelitheme.rb
@@ -1,4 +1,6 @@
-THEME_NAME = File.split(File.expand_path("../..", __FILE__))[1]
+theme_name = File.split(File.expand_path("../..", __FILE__))[1]
+theme_name.gsub!('-', '_')
+THEME_NAME = theme_name
class ActionController::Base
# The following prepends the path of the current theme's views to