Skip to content

Commit

Permalink
Solving issue; the module now is an instance of ActionView::Base
Browse files Browse the repository at this point in the history
  • Loading branch information
albertbellonch committed Jan 10, 2012
1 parent bf50f21 commit 0027053
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/best_in_place.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
require "best_in_place/engine"
require "best_in_place/controller_extensions"
require "best_in_place/display_methods"
require "action_view"

module BestInPlace
autoload :TestHelpers, "best_in_place/test_helpers"

module ViewHelpers
extend ActionView::Helpers
end
ViewHelpers = ActionView::Base.new
end

0 comments on commit 0027053

Please sign in to comment.