Method: Scrivito::BasicWidget#obj
- Defined in:
- app/cms/scrivito/basic_widget.rb
#obj ⇒ Scrivito::BasicObj
Returns the Obj to which this widget belongs.
362 363 364 365 366 367 368 |
# File 'app/cms/scrivito/basic_widget.rb', line 362 def obj if @obj @obj else raise_not_persisted_error end end |