Class: StatisticsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/statistics_controller.rb

Overview

Copyright © 2010-2011, Diaspora Inc. This file is

licensed under the Affero General Public License version 3 or later.  See
the COPYRIGHT file.

Instance Method Summary collapse

Instance Method Details

#statisticsObject


9
10
11
12
13
# File 'app/controllers/statistics_controller.rb', line 9

def statistics
  respond_to do |format|
    format.json { render :json => StatisticsPresenter.new }
  end
end