Skip to content

Rake task adminpanel:section

vicocamacho edited this page Dec 24, 2014 · 7 revisions

To create a task you can use theh rake task to generate a section. The first parameter is the name of the section, the second parameter is the name of the page the section belongs to and the third are the types of the section.

bundle exec rake adminpanel:section[Mission, About Us, wysiwyg images]

if no third parameter is supplided, its going to be a simple text field as default.

iTerm users, remember to escape square brackets.

bundle exec rake adminpanel:section"[Mission, About Us, wysiwyg images]"

Clone this wiki locally