aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/alavetelitheme.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb
index d3998b2..e8cc960 100644
--- a/lib/alavetelitheme.rb
+++ b/lib/alavetelitheme.rb
@@ -1,3 +1,5 @@
+THEME_NAME = File.split(File.expand_path("../..", __FILE__))[1]
+
class ActionController::Base
# The following prepends the path of the current theme's views to
# the "filter_path" that Rails searches when deciding which