Class: ContactsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ContactsController
- Defined in:
- app/controllers/contacts_controller.rb
Overview
Copyright © 2010, Diaspora Inc. This file is
licensed under the Affero General Public License version 3 or later. See the COPYRIGHT file.
Instance Method Summary (collapse)
Methods inherited from ApplicationController
#after_sign_in_path_for, #clear_gc_stats, #ensure_http_referer_is_set, #ensure_page, #grammatical_gender, #redirect_unless_admin, #set_git_header, #set_grammatical_gender, #set_header_data, #set_invites, #set_locale, #which_action_and_user
Instance Method Details
- (Object) sharing
8 9 10 11 |
# File 'app/controllers/contacts_controller.rb', line 8 def @contacts = current_user.contacts..includes(:aspect_memberships) render :layout => false end |