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



303
304
305
# File 'lib/conjoin/widgets.rb', line 303

def settings
  @settings
end

Instance Method Details

#app ⇒ Object



304
305
306
307
308
309
310
311
312
313
314
# File 'lib/conjoin/widgets.rb', line 304

def app
  App.settings = settings
  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
end