Skip to content

Instantly share code, notes, and snippets.

@smcabrera
Created October 28, 2015 22:45
Show Gist options
  • Select an option

  • Save smcabrera/49b781507ae47cd1ef86 to your computer and use it in GitHub Desktop.

Select an option

Save smcabrera/49b781507ae47cd1ef86 to your computer and use it in GitHub Desktop.

Here are the steps to change things on the UI for the leads on the prm

  1. Add to the serializer which lives here: app/serializers/base_lead_serializer.rb
  2. Add to params list in the controller here: app/controllers/leads_controller.rb
  3. Add to ember model here: app/assets/javascripts/models/lead.js.coffee
  4. Add to ember controller here: app/assets/javascripts/controllers/lead_controller.js.coffee
  5. Add to the view template in the appropriate file in this folder: app/assets/javascripts/templates/lead_details/tabs/ like app/assets/javascripts/templates/lead_details/tabs/_concessions.handlebars
  6. Make sure to also change in the edit template as well (they end in -edit.handlebars)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment