diff --git a/Gemfile.lock b/Gemfile.lock index aa24d99..893c82e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - katalyst-content (2.1.3) + katalyst-content (2.1.4) active_storage_validations katalyst-html-attributes katalyst-kpop diff --git a/app/controllers/katalyst/content/items_controller.rb b/app/controllers/katalyst/content/items_controller.rb index df68fad..62420ee 100644 --- a/app/controllers/katalyst/content/items_controller.rb +++ b/app/controllers/katalyst/content/items_controller.rb @@ -100,6 +100,11 @@ def store_attachments(item) end end end + + # When rendering item forms do not include the controller namespace prefix (katalyst/content) + def prefix_partial_path_with_controller_namespace + false + end end end end diff --git a/app/helpers/katalyst/content/editor_helper.rb b/app/helpers/katalyst/content/editor_helper.rb index 7c1bd72..5c1fa7c 100644 --- a/app/helpers/katalyst/content/editor_helper.rb +++ b/app/helpers/katalyst/content/editor_helper.rb @@ -14,11 +14,6 @@ def content_editor_rich_text_attributes(attributes = {}) }, }.merge_html(attributes) end - - # When rendering item forms do not include the controller namespace prefix (katalyst/content) - def prefix_partial_path_with_controller_namespace - false - end end end end diff --git a/katalyst-content.gemspec b/katalyst-content.gemspec index 98a40c4..d806b30 100644 --- a/katalyst-content.gemspec +++ b/katalyst-content.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "katalyst-content" - spec.version = "2.1.3" + spec.version = "2.1.4" spec.authors = ["Katalyst Interactive"] spec.email = ["developers@katalyst.com.au"]