Class: Agile::Configuration
- Inherits:
-
Object
- Object
- Agile::Configuration
- Defined in:
- lib/agile/configuration.rb
Class Method Summary collapse
Class Method Details
.defaults ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/agile/configuration.rb', line 27 def self.defaults default = {} # 1: new, 2: filter, 3: sort default[:index_standard_actions] = { 1 => 'new', 3 => 'filter' } # 1: edit, 2: duplicate, 3: delete default[:dataset_standard_actions] = { 1 => 'edit', 3 => 'delete' } # 1: back, 2: save, 3: save&back, 4: refresh, 5: enable, 6:new default[:form_standard_actions] = { 1 => 'cancel', 3 => 'save&back' } # top, bottom, both default[:default_actions_position] = 'top' # top, left default[:default_labels_position] = 'left' default end |