lib/embeddable/railtie.rb in embeddable-0.0.7 vs lib/embeddable/railtie.rb in embeddable-0.0.8
- old
+ new
@@ -1,10 +1,10 @@
require 'embeddable/view_helpers'
module Embeddable
class Railtie < Rails::Railtie
initializer "embeddable.view_helpers" do
- ActionView::Base.send :include, ViewHelpers
+ ActionView::Base.send :include, Embeddable::ViewHelpers
end
initializer 'embeddable.add_view_paths', :after => :add_view_paths do |app|
ActiveSupport.on_load(:action_controller) do
append_view_path "#{Gem.loaded_specs['embeddable'].full_gem_path}/views"