a better description about how to set a file in a content entry (issue #138)

did committed Jan 04, 2016
commit b4109eac1e0ece5f678650b6d4263baf7b7f7f3f
Showing 1 changed file with 2 additions and 2 deletions
generators/content_type/data/%slug%.yml.tt +2 -2
@@ @@ -13,7 +13,7 @@
<% when 'date' -%>
<%= field.name -%>: <%= Time.now.strftime('%Y/%m/%d') -%> # YYYY/MM/DD
<% when 'file' -%>
- <%= field.name -%>: null # Path to a file in the public/samples folder or to a remote and external file.
+ # <%= field.name -%>: /samples/<%= config[:slug] -%>/yourfile.txt # Path to a file in the public/samples folder or to a remote and external file.
<% when 'belongs_to' -%>
<%= field.name -%>: null # Slug of the target entry
<% when 'many_to_many' -%>
@@ @@ -21,4 +21,4 @@
<% end -%>
<% end -%>
- <% end -%>
\ No newline at end of file
+ <% end -%>