Permalink
Browse files

Trying application instead of helpers.

  • Loading branch information...
1 parent c36c717 commit 3ca1d53020b083743ce08d007d59201010b56ac8 @gazay committed Jan 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/gon/sinatra/helpers.rb
@@ -47,5 +47,5 @@ def gon
end
end
-Sinatra::Helpers.send :include, Gon::Sinatra::Helpers
+Sinatra::Application.send :include, Gon::Sinatra::Helpers
Sinatra::Base.send :include, Gon::Sinatra::GonHelpers

0 comments on commit 3ca1d53

Please sign in to comment.