diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-03-03 14:52:30 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-03-03 14:52:30 +1100 |
commit | cbdff06aa95a7987b54c712dc6729e138f608eca (patch) | |
tree | b101dd575c5cab97675c0ac488e68fa6cbd0c4fd /config/initializers/theme_loader.rb | |
parent | f02881b5bf5cc4d633983100078be2e64b8e6fcc (diff) |
Rename Configuration class to avoid conflict with ActiveSupport::Configurable
Diffstat (limited to 'config/initializers/theme_loader.rb')
-rw-r--r-- | config/initializers/theme_loader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/theme_loader.rb b/config/initializers/theme_loader.rb index 877149e9d..4c8967c97 100644 --- a/config/initializers/theme_loader.rb +++ b/config/initializers/theme_loader.rb @@ -3,7 +3,7 @@ $alaveteli_route_extensions = [] if ENV["RAILS_ENV"] != "test" # Don't let the themes interfere with Alaveteli specs - for url in Configuration::theme_urls.reverse + for url in AlaveteliConfiguration::theme_urls.reverse theme_name = url.sub(/.*\/(.*).git/, "\\1") theme_main_include = File.expand_path "../../../vendor/plugins/#{theme_name}/lib/alavetelitheme.rb", __FILE__ if File.exists? theme_main_include |