aboutsummaryrefslogtreecommitdiffstats
path: root/lib/alavetelitheme.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-06-12 11:21:14 +0100
committerSeb Bacon <seb.bacon@gmail.com>2012-06-25 12:54:04 +0100
commit0fb9c1a89bb6c65bed0708230e968d24ec07613e (patch)
tree9dc8ac06ecfc804d21929a80a1017125d808e4c3 /lib/alavetelitheme.rb
parent1068327d89d75ff840b554a1670468f80ba98cab (diff)
Forgot to include variable in previous commit
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 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