Permalink
Browse files

fix railtie

  • Loading branch information...
1 parent 97f6e71 commit dc59d593abd8ecbb418f70487d1ea997f0f06724 @kookster kookster committed Jan 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/apn_on_rails/rails/railtie.rb
@@ -1,9 +1,9 @@
-if defined?(Rails::Railtie) # backwards compatible
+if defined?(::Rails::Railtie) # backwards compatible
module APN
module Rails
- class Railtie < Rails::Railtie
+ class Railtie < ::Rails::Railtie
rake_tasks do
Dir[File.join(File.dirname(__FILE__),'..', 'tasks/*.rake')].each { |f| load f }
end

0 comments on commit dc59d59

Please sign in to comment.