lib/generators/templates/config/typus/README in typus-3.1.0.rc18 vs lib/generators/templates/config/typus/README in typus-3.1.0.rc19
- old
+ new
@@ -10,18 +10,15 @@
list: id, title, category_id, created_at, is_published?
form: title, body, is_published?, created_at
show: title, category, is_published?
relationship: title, status
options:
- auto_generated:
booleans:
is_published: ["Yes, it is", "No, it isn't"]
date_formats:
created_at: post_long
selectors:
- read_only:
- filter_by_date_range: valid_until
templates:
body: rich_text
actions:
index: cleanup
edit: send_as_newsletter
@@ -35,15 +32,12 @@
options:
default_action_on_item: show
end_year: 2015
form_rows: 25
minute_step: 15
- nil: 'nil'
only_user_items: true
per_page: 25
start_year: 1990
-
-Note: To define namespace models use :: as a separator. (i.e. Delayed::Job)
# Roles
In this file you can configure the actions available for each of your models
on the application. You can also use the 'all' shortcut to allow the user the