Changeset [95d76eb22cc3fba72060f11d71dbd6506634189c] by Johnny Shields

January 6th, 2018 @ 08:11 AM

Devise Readiness (+ thread-safety):
- User.current_user should not be used within model instance scope - Refactor User.current_ability to be an instance method User#abiltiy - .my scope is now .my(current_user) - Rename User#check_if_needs_approval to User#suspend_if_needs_approval https://github.com/fatfreecrm/fat_free_crm/commit/95d76eb22cc3fba72...

Committed by Johnny Shields

  • 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/controllers/tasks_controller.rb
  • M app/controllers/users_controller.rb
  • M app/helpers/accounts_helper.rb
  • M app/helpers/application_helper.rb
  • M app/helpers/opportunities_helper.rb
  • M app/models/users/user.rb
  • M lib/fat_free_crm/permissions.rb
  • M spec/models/users/user_spec.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