Class: ActiveAdmin::Cms::ContentType
Class Method Summary
collapse
included
Class Method Details
.display_preview? ⇒ Boolean
66
67
68
|
# File 'lib/active_admin/cms/content_type.rb', line 66
def display_preview?
@display_preview
end
|
.file_allowed? ⇒ Boolean
54
55
56
|
# File 'lib/active_admin/cms/content_type.rb', line 54
def file_allowed?
@file_allowed
end
|
.file_required? ⇒ Boolean
58
59
60
|
# File 'lib/active_admin/cms/content_type.rb', line 58
def file_required?
@file_required
end
|
.image_allowed? ⇒ Boolean
46
47
48
|
# File 'lib/active_admin/cms/content_type.rb', line 46
def image_allowed?
@image_allowed
end
|
.image_required? ⇒ Boolean
50
51
52
|
# File 'lib/active_admin/cms/content_type.rb', line 50
def image_required?
@image_required
end
|
.markdown_allowed? ⇒ Boolean
38
39
40
|
# File 'lib/active_admin/cms/content_type.rb', line 38
def markdown_allowed?
@markdown_allowed
end
|
.text_allowed? ⇒ Boolean
34
35
36
|
# File 'lib/active_admin/cms/content_type.rb', line 34
def text_allowed?
@text_allowed
end
|
.text_required? ⇒ Boolean
42
43
44
|
# File 'lib/active_admin/cms/content_type.rb', line 42
def text_required?
@text_required
end
|