app/controllers/statistics_controller.rb
# Copyright (c) 2012-2017, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.
class StatisticsController < ApplicationController
def general
@statistics = Statistic.new
authorize @statistics
end
def category_sales
@statistics = Statistic.new
authorize @statistics
end
end