There was an error while loading. Please reload this page.
1 parent a2b0ce3 commit fd803f0Copy full SHA for fd803f0
app/controllers/cms/application_controller.rb
@@ -1,5 +1,6 @@
1
module Cms
2
class ApplicationController < ::ApplicationController
3
+ default_form_builder = Cms::FormBuilder::ContentBlockFormBuilder
4
include Cms::AdminController
5
6
end
lib/cms/engine.rb
@@ -116,7 +116,6 @@ class Engine < Rails::Engine
116
ActiveSupport::Dependencies.autoload_paths += %W( #{Rails.root}/app/portlets/helpers )
117
ActionController::Base.append_view_path DynamicView.base_path
118
ActionController::Base.append_view_path %W( #{self.root}/app/views)
119
- ActionView::Base.default_form_builder = Cms::FormBuilder::ContentBlockFormBuilder
120
require 'jdbc_adapter' if defined?(JRUBY_VERSION)
121
122
0 commit comments