Module: Neuron::ShowFor

Extended by:
ActiveSupport::Autoload
Defined in:
lib/neuron/show_for.rb,
lib/neuron/show_for/helper.rb

Defined Under Namespace

Modules: Helper

Class Method Summary collapse

Class Method Details

.setup!Object



10
11
12
13
14
15
16
17
18
# File 'lib/neuron/show_for.rb', line 10

def self.setup!
  # Reconfigure ShowFor
  ShowFor.wrapper_tag = :dl
  ShowFor.label_tag = :dt
  ShowFor. = :dd
  ShowFor.separator = ''

  Helper # loads improved ShowFor helper
end