forked from fatfreecrm/fat_free_crm
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
jaeckel edited this page Sep 13, 2010
·
18 revisions
This is a forked repository. Have a look at
michaeldv’s fat_free_crm wiki
for more information.
- ruby script/generate model Proposal
- ruby script/generate controller Proposal
- add tab to new module in config/settings.yml and do rake crm:settings:load
- add new module to CommentsController id array (“proposals_id”)
- add new module to ActivityObserver observe method call (“Proposal”)
- add before_filter and after_filter method calls (see other controllers) to the top of ProposalsController
- edit Proposal model class. use other models as template for adding/deleting lines.
- edit the migrate file that has been automatically generated ???_create_proposals.rb. add neccessary fields. do the migration with rake db:migrate
- copy view files from other module. create simple index.html.haml view file at the beginning and add neccessary stuff in small steps (trial and error..)