Better shorthand for creating draft content #584

Closed
peakpg opened this Issue Mar 27, 2013 · 1 comment

Projects

None yet

1 participant

@peakpg
Collaborator
peakpg commented Mar 27, 2013

Add new syntax for saving blocks in draft mode. The following should be identical:

Cms::HtmlBlock.create!(name: "Short", as: :draft)
Cms::HtmlBlock.create!(name: "Long",  publish_on_save: false)
@peakpg
Collaborator
peakpg commented Mar 27, 2013

Done.

@peakpg peakpg closed this Mar 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment