Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add Railtie

  • Loading branch information...
commit 97f6e713100e354901538da5571548a1176f40a1 1 parent 6281dbc
@kookster kookster authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 lib/apn_on_rails/rails/railtie.rb
View
15 lib/apn_on_rails/rails/railtie.rb
@@ -0,0 +1,15 @@
+if defined?(Rails::Railtie) # backwards compatible
+
+module APN
+ module Rails
+
+ class Railtie < Rails::Railtie
+ rake_tasks do
+ Dir[File.join(File.dirname(__FILE__),'..', 'tasks/*.rake')].each { |f| load f }
+ end
+ end
+
+ end
+end
+
+end
Please sign in to comment.
Something went wrong with that request. Please try again.