Class: Marty::Postings::NewForm

Inherits:
Form
  • Object
show all
Extended by:
Marty::Permissions
Defined in:
app/components/marty/postings/new_form.rb

Constant Summary

Constants included from Marty::Permissions

Marty::Permissions::NETZKE_ENDPOINTS

Instance Method Summary collapse

Methods included from Marty::Permissions

can_call_endpoint?, can_perform_action?, can_perform_actions, current_user_roles, extended, has_any_perm?, has_marty_permissions, has_perm?

Instance Method Details

#configure(c) ⇒ Object



29
30
31
32
33
34
35
36
37
38
# File 'app/components/marty/postings/new_form.rb', line 29

def configure(c)
  super

  c.model = 'Marty::Posting'
  c.items = [
    :posting_type,
    :comment,
    :summary_grid
  ]
end