src/admin_panel/Rakefile in webroar-0.6.1 vs src/admin_panel/Rakefile in webroar-0.7.0
- old
+ new
@@ -1,10 +1,7 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-require(File.join(File.dirname(__FILE__), 'config', 'boot'))
-
+require File.expand_path('../config/application', __FILE__)
require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-require 'tasks/rails'
+AdminPanel::Application.load_tasks
\ No newline at end of file