Permalink
Browse files

Fix requires

  • Loading branch information...
1 parent 81f11a6 commit 8157a1cf3bd0bb5f6bfa7567c35ed9a94fa24783 @brianjlandau brianjlandau committed Jan 15, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 init.rb
View
@@ -42,6 +42,9 @@ class Main < Monk::Glue
ActiveRecord::Base.establish_connection(@db_config[Main.environment.to_s])
# Load all application files.
+ Dir[root_path("app/helpers/**/*.rb")].each do |file|
+ require file
+ end
Dir[root_path("app/**/*.rb")].each do |file|
require file
end

0 comments on commit 8157a1c

Please sign in to comment.