diaspora/app/controllers/statistics_controller.rb
2015-01-18 15:52:42 +01:00

16 lines
No EOL
471 B
Ruby

# Copyright (c) 2010-2011, Diaspora Inc. This file is
# licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file.
class StatisticsController < ApplicationController
respond_to :html, :json
use_bootstrap_for :statistics
def statistics
@statistics = StatisticsPresenter.new
respond_to do |format|
format.json { render json: @statistics }
format.html { render layout: "application" }
end
end
end