Class: Conjoin::Widgets::Routes

Inherits:
Struct
  • Object
show all
Defined in:
lib/conjoin/widgets.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#settings ⇒ Object

Returns the value of attribute settings

Returns:

  • (Object) —

    the current value of settings



337
338
339
# File 'lib/conjoin/widgets.rb', line 337

def settings
  @settings
end

Instance Method Details

#app ⇒ Object



338
339
340
341
342
343
344
345
346
347
348
349
350
# File 'lib/conjoin/widgets.rb', line 338

def app
  App.settings = settings
  App.root     = settings[:root]
  App.plugin Conjoin::Cuba::Render
  App.plugin Conjoin::Auth
  App.plugin Conjoin::Assets
  App.plugin Conjoin::I18N
  App.plugin Conjoin::FormBuilder
  App.plugin Conjoin::Widgets
  App.plugin Conjoin::Ui

  App
end