Class: DocumentationEditor::Configuration
- Inherits:
-
Object
- Object
- DocumentationEditor::Configuration
- Defined in:
- lib/documentation_editor/configuration.rb
Instance Attribute Summary collapse
-
#before_filter ⇒ Object
configure the before_filter used for the preview & show actions.
-
#is_admin ⇒ Object
configure the before_filter to use to identity administrators.
-
#layout ⇒ Object
custom layout.
-
#lower_title_levels ⇒ Object
lower title levels (h1 -> h2, h2 -> h3, …).
-
#paperclip_options ⇒ Object
additional paperclip parameters.
-
#wrap_h1_with_sections ⇒ Object
should we wrap h1’s content by sections.
Instance Attribute Details
#before_filter ⇒ Object
configure the before_filter used for the preview & show actions
16 17 18 |
# File 'lib/documentation_editor/configuration.rb', line 16 def before_filter @before_filter end |
#is_admin ⇒ Object
configure the before_filter to use to identity administrators
7 8 9 |
# File 'lib/documentation_editor/configuration.rb', line 7 def is_admin @is_admin end |
#layout ⇒ Object
custom layout
4 5 6 |
# File 'lib/documentation_editor/configuration.rb', line 4 def layout @layout end |
#lower_title_levels ⇒ Object
lower title levels (h1 -> h2, h2 -> h3, …)
19 20 21 |
# File 'lib/documentation_editor/configuration.rb', line 19 def lower_title_levels @lower_title_levels end |
#paperclip_options ⇒ Object
additional paperclip parameters
10 11 12 |
# File 'lib/documentation_editor/configuration.rb', line 10 def @paperclip_options end |
#wrap_h1_with_sections ⇒ Object
should we wrap h1’s content by sections
13 14 15 |
# File 'lib/documentation_editor/configuration.rb', line 13 def wrap_h1_with_sections @wrap_h1_with_sections end |