Created
June 17, 2010 06:41
-
-
Save jackdempsey/441763 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/rack-offline.rb b/lib/rack-offline.rb | |
index 479e947..7e6748d 100644 | |
--- a/lib/rack-offline.rb | |
+++ b/lib/rack-offline.rb | |
@@ -1,7 +1,7 @@ | |
require "rack/offline" | |
module Rails | |
- class Offline < Rack::Offline | |
+ class Offline < ::Rack::Offline | |
def self.call(env) | |
@app ||= new | |
@app.call(env) | |
@@ -41,4 +41,4 @@ module Rails | |
end | |
end | |
-end | |
\ No newline at end of file | |
+end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment