Changeset [8e30cd650e28786909230d3f1ea71bd92fdeff93] by Ben Tillman

April 5th, 2012 @ 08:22 AM

Use cancan for permissions, refactor resource loading
https://github.com/fatfreecrm/fat_free_crm/commit/8e30cd650e2878690...

Committed by Ben Tillman

  • A app/controllers/tasks_controller.rb
  • A app/models/polymorphic/task.rb
  • A app/views/application/_auto_complete.html.haml
  • A app/views/entities/attach.js.rjs
  • A app/views/entities/discard.js.rjs
  • A config/initializers/cancan.rb
  • A config/initializers/squeel.rb
  • A spec/controllers/entities/accounts_controller_spec.rb
  • A spec/controllers/entities/campaigns_controller_spec.rb
  • A spec/controllers/entities/contacts_controller_spec.rb
  • A spec/controllers/entities/leads_controller_spec.rb
  • A spec/controllers/entities/opportunities_controller_spec.rb
  • A spec/models/entities/account_contact_spec.rb
  • A spec/models/entities/account_opportunity_spec.rb
  • A spec/models/entities/account_spec.rb
  • A spec/models/entities/campaign_spec.rb
  • A spec/models/entities/contact_opportunity_spec.rb
  • A spec/models/entities/contact_spec.rb
  • A spec/models/entities/lead_spec.rb
  • A spec/models/entities/opportunity_spec.rb
  • A spec/models/polymorphic/task_spec.rb
  • A spec/views/application/auto_complete.haml_spec.rb
  • R app/controllers/entities/tasks_controller.rb
  • R app/models/entities/task.rb
  • R app/views/shared/auto_complete.html.haml
  • R app/views/shared/attach.js.rjs
  • R app/views/shared/discard.rjs
  • R spec/controllers/accounts_controller_spec.rb
  • R spec/controllers/campaigns_controller_spec.rb
  • R spec/controllers/contacts_controller_spec.rb
  • R spec/controllers/leads_controller_spec.rb
  • R spec/controllers/opportunities_controller_spec.rb
  • R spec/models/base/account_contact_spec.rb
  • R spec/models/base/account_opportunity_spec.rb
  • R spec/models/base/account_spec.rb
  • R spec/models/base/campaign_spec.rb
  • R spec/models/base/contact_opportunity_spec.rb
  • R spec/models/base/contact_spec.rb
  • R spec/models/base/lead_spec.rb
  • R spec/models/base/opportunity_spec.rb
  • R spec/models/base/task_spec.rb
  • R spec/views/common/auto_complete.haml_spec.rb
  • M Gemfile
  • M Gemfile.lock
  • M app/controllers/admin/application_controller.rb
  • M app/controllers/admin/users_controller.rb
  • M app/controllers/application_controller.rb
  • M app/controllers/comments_controller.rb
  • M app/controllers/entities/accounts_controller.rb
  • M app/controllers/entities/campaigns_controller.rb
  • M app/controllers/entities/contacts_controller.rb
  • M app/controllers/entities/leads_controller.rb
  • M app/controllers/entities/opportunities_controller.rb
  • M app/controllers/entities_controller.rb
  • M app/helpers/accounts_helper.rb
  • M app/helpers/campaigns_helper.rb
  • M app/helpers/leads_helper.rb
  • M app/helpers/opportunities_helper.rb
  • M app/models/entities/lead.rb
  • M app/models/setting.rb
  • M app/models/users/ability.rb
  • M app/models/users/user.rb
  • M app/views/accounts/index.js.rjs
  • M app/views/campaigns/index.js.rjs
  • M app/views/contacts/index.js.rjs
  • M app/views/entities/contacts.js.rjs
  • M app/views/entities/leads.js.rjs
  • M app/views/entities/opportunities.js.rjs
  • M app/views/entities/versions.js.rjs
  • M app/views/leads/index.js.rjs
  • M app/views/opportunities/index.js.rjs
  • M fat_free_crm.gemspec
  • M lib/fat_free_crm/permissions.rb
  • M lib/fat_free_crm/tabs.rb
  • M spec/controllers/admin/users_controller_spec.rb
  • M spec/controllers/tasks_controller_spec.rb
  • M spec/shared/controllers.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond