Changeset [c1049e773efcd0008ffd1a3d0ac004f8ed76cb4b] by Steve Kenworthy

September 11th, 2012 @ 09:51 PM

Use 'current_user' helper everywhere rather than '@current_user'. Standardising to enable better engine integration later on.
https://github.com/fatfreecrm/fat_free_crm/commit/c1049e773efcd0008...

Committed by Steve Kenworthy

  • M app/controllers/admin/application_controller.rb
  • M app/controllers/admin/users_controller.rb
  • M app/controllers/application_controller.rb
  • M app/controllers/entities/accounts_controller.rb
  • M app/controllers/entities/campaigns_controller.rb
  • M app/controllers/entities/leads_controller.rb
  • M app/controllers/entities/opportunities_controller.rb
  • M app/controllers/home_controller.rb
  • M app/controllers/tasks_controller.rb
  • M app/controllers/users_controller.rb
  • M app/helpers/application_helper.rb
  • M app/helpers/tasks_helper.rb
  • M app/helpers/users_helper.rb
  • M app/views/accounts/_account.html.haml
  • M app/views/accounts/_options.html.haml
  • M app/views/admin/fields/_options.html.haml
  • M app/views/admin/users/_profile.html.haml
  • M app/views/admin/users/_user.html.haml
  • M app/views/campaigns/_campaign.html.haml
  • M app/views/campaigns/_options.html.haml
  • M app/views/comments/_edit.html.haml
  • M app/views/comments/_new.html.haml
  • M app/views/contacts/_contact.html.haml
  • M app/views/contacts/_options.html.haml
  • M app/views/entities/attach.js.rjs
  • M app/views/home/_account.html.haml
  • M app/views/home/_opportunity.html.haml
  • M app/views/home/_options.html.haml
  • M app/views/home/_task.html.haml
  • M app/views/layouts/_header.html.haml
  • M app/views/layouts/admin/_header.html.haml
  • M app/views/leads/_lead.html.haml
  • M app/views/leads/_options.html.haml
  • M app/views/opportunities/_opportunity.html.haml
  • M app/views/opportunities/_options.html.haml
  • M app/views/shared/_edit_comment.html.haml
  • M app/views/shared/_recently.html.haml
  • M app/views/shared/_tasks.html.haml
  • M app/views/tasks/_completed.html.haml
  • M app/views/tasks/_new.html.haml
  • M app/views/tasks/_pending.html.haml
  • M app/views/tasks/create.js.rjs
  • M app/views/tasks/edit.js.rjs
  • M app/views/users/_user.html.haml
  • M app/views/users/show.html.haml
  • M app/views/users/update.js.rjs
  • M spec/controllers/admin/users_controller_spec.rb
  • M spec/controllers/comments_controller_spec.rb
  • M spec/controllers/emails_controller_spec.rb
  • M spec/controllers/entities/accounts_controller_spec.rb
  • M spec/controllers/entities/campaigns_controller_spec.rb
  • M spec/controllers/entities/contacts_controller_spec.rb
  • M spec/controllers/entities/leads_controller_spec.rb
  • M spec/controllers/entities/opportunities_controller_spec.rb
  • M spec/controllers/home_controller_spec.rb
  • M spec/controllers/tasks_controller_spec.rb
  • M spec/controllers/users_controller_spec.rb
  • M spec/models/entities/account_spec.rb
  • M spec/models/entities/campaign_spec.rb
  • M spec/models/entities/contact_spec.rb
  • M spec/models/entities/lead_spec.rb
  • M spec/models/entities/opportunity_spec.rb
  • M spec/models/polymorphic/task_spec.rb
  • M spec/models/polymorphic/version_spec.rb
  • M spec/models/users/user_spec.rb
  • M spec/support/auth_macros.rb
  • M spec/views/accounts/_edit.haml_spec.rb
  • M spec/views/accounts/_new.haml_spec.rb
  • M spec/views/accounts/create.rjs_spec.rb
  • M spec/views/accounts/edit.rjs_spec.rb
  • M spec/views/accounts/new.rjs_spec.rb
  • M spec/views/accounts/options.rjs_spec.rb
  • M spec/views/accounts/show.haml_spec.rb
  • M spec/views/accounts/update.rjs_spec.rb
  • M spec/views/admin/users/_create.haml_spec.rb
  • M spec/views/admin/users/create.rjs_spec.rb
  • M spec/views/campaigns/_edit.haml_spec.rb
  • M spec/views/campaigns/_new.haml_spec.rb
  • M spec/views/campaigns/destroy.rjs_spec.rb
  • M spec/views/campaigns/edit.rjs_spec.rb
  • M spec/views/campaigns/new.rjs_spec.rb
  • M spec/views/campaigns/options.rjs_spec.rb
  • M spec/views/campaigns/show.haml_spec.rb
  • M spec/views/campaigns/update.rjs_spec.rb
  • M spec/views/contacts/_edit.haml_spec.rb
  • M spec/views/contacts/_new.haml_spec.rb
  • M spec/views/contacts/create.rjs_spec.rb
  • M spec/views/contacts/edit.rjs_spec.rb
  • M spec/views/contacts/new.rjs_spec.rb
  • M spec/views/contacts/options.rjs_spec.rb
  • M spec/views/contacts/show.haml_spec.rb
  • M spec/views/contacts/update.rjs_spec.rb
  • M spec/views/home/index.rjs_spec.rb
  • M spec/views/home/options.rjs_spec.rb
  • M spec/views/leads/_convert.haml_spec.rb
  • M spec/views/leads/_edit.haml_spec.rb
  • M spec/views/leads/_new.haml_spec.rb
  • M spec/views/leads/_sidebar_show.haml_spec.rb
  • M spec/views/leads/convert.rjs_spec.rb
  • M spec/views/leads/edit.rjs_spec.rb
  • M spec/views/leads/new.rjs_spec.rb
  • M spec/views/leads/options.rjs_spec.rb
  • M spec/views/leads/promote.rjs_spec.rb
  • M spec/views/leads/show.haml_spec.rb
  • M spec/views/leads/update.rjs_spec.rb
  • M spec/views/opportunities/_edit.haml_spec.rb
  • M spec/views/opportunities/_new.haml_spec.rb
  • M spec/views/opportunities/edit.rjs_spec.rb
  • M spec/views/opportunities/new.rjs_spec.rb
  • M spec/views/opportunities/options.rjs_spec.rb
  • M spec/views/opportunities/show.haml_spec.rb
  • M spec/views/opportunities/update.rjs_spec.rb
  • M spec/views/tasks/_edit.haml_spec.rb
  • M spec/views/tasks/complete.rjs_spec.rb
  • M spec/views/tasks/edit.rjs_spec.rb
  • M spec/views/tasks/new.rjs_spec.rb
  • M spec/views/users/avatar.rjs_spec.rb
  • M spec/views/users/change_password.rjs_spec.rb
  • M spec/views/users/edit.rjs_spec.rb
  • M spec/views/users/password.rjs_spec.rb
  • M spec/views/users/update.rjs_spec.rb
  • M spec/views/users/upload_avatar.rjs_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