Class: TiesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/ties_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
10
# File 'app/controllers/ties_controller.rb', line 6

def index
  unless current_subject.sent_contacts.active.count > 0
    flash[:notice] = t('contact.graph.empty')
  end
end