Method: ErpApp::Organizer::Crm::BaseController#contact_mechanism

Defined in:
app/controllers/erp_app/organizer/crm/base_controller.rb

#contact_mechanismObject



31
32
33
34
35
36
37
38
39
40
41
# File 'app/controllers/erp_app/organizer/crm/base_controller.rb', line 31

def contact_mechanism
  render :inline => if request.post?
                      create_contact_mechanism
                    elsif request.put?
                      update_contact_mechanism
                    elsif request.get?
                      get_contact_mechanisms
                    elsif request.delete?
                      delete_contact_mechanism
                    end
end