Structuring models directory

This commit is contained in:
magnolia-fan
2011-09-26 03:14:59 +04:00
parent c883b7586c
commit d142c516be
24 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ module Beathaven
# -- all .rb files in that directory are automatically loaded.
# Custom directories with classes and modules you want to be autoloadable.
# config.autoload_paths += %W(#{config.root}/extras)
config.autoload_paths += Dir[Rails.root.join('app', 'models', '{**}')]
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.