Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

lets load the rake tasks into rails using a railtie

  • Loading branch information...
commit 3d2e275e9b02b4b5976f0888c6d5834708133572 1 parent 644a855
@joshk joshk authored committed
Showing with 13 additions and 0 deletions.
  1. +13 −0 lib/navvy.rb
View
13 lib/navvy.rb
@@ -19,3 +19,16 @@ def self.configure
yield(self.configuration)
end
end
+
+
+if defined?(Rails)
+
+ module Navvy
+ class Railtie < Rails::Railtie
+ rake_tasks do
+ require 'navvy/tasks.rb'
+ end
+ end
+ end
+
+end
Please sign in to comment.
Something went wrong with that request. Please try again.