app/controllers/contents_controller.rb in common-content-0.0.2 vs app/controllers/contents_controller.rb in common-content-0.0.3
- old
+ new
@@ -15,10 +15,10 @@
@content = Content.new
end
def edit
@content = Content.find_by_ancestry(params[:ancestors].try(:split,'/'), params[:id])
- @content.build_seo unless @content.seo
+ # @content.build_seo unless @content.seo
# @content.child_contents.create(slug:"#{@content.slug}-kid-#{@content.child_contents.count}", title:"#{@content.slug} Kid") if @content.child_contents.size == 0
respond_with @content
end
def define