class Channels::Admin::StatisticsController < Admin::BaseController
  menu I18n.t('channels.admin.statistics.index.menu') => Rails.application.routes.url_helpers.admin_statistics_path

  actions :index

  before_filter do
    @channel = Channel.find_by_permalink!(request.subdomain.to_s)
  end

  def index
    @total_subscribers = @channel.subscribers.count
  end
end

class Channels::Admin::StatisticsController < Admin::BaseController
  menu I18n.t('channels.admin.statistics.index.menu') => Rails.application.routes.url_helpers.channels_admin_statistics_path

  actions :index

  before_filter do
    @channel = Channel.find_by_permalink!(request.subdomain.to_s)
  end

  def index
    @total_subscribers = @channel.subscribers.count
  end
end

Fix statistics path for channel admin
Fix statistics path for channel admin
