Module: Ext::OgScaffold::Views

Defined in:
lib/ext/og_scaffold.rb

Instance Method Summary collapse

Instance Method Details

#og_scaffold_editObject



112
113
114
# File 'lib/ext/og_scaffold.rb', line 112

def og_scaffold_edit
  form_for(@model, @model_instance)
end

#og_scaffold_indexObject



104
105
106
# File 'lib/ext/og_scaffold.rb', line 104

def og_scaffold_index
  form_for(@model)
end

#og_scaffold_showObject



108
109
110
# File 'lib/ext/og_scaffold.rb', line 108

def og_scaffold_show
  print(@model_instance)
end