diff --git a/app/controllers/stats_controller.rb b/app/controllers/stats_controller.rb index 15ded4a9..fc9a0d7e 100644 --- a/app/controllers/stats_controller.rb +++ b/app/controllers/stats_controller.rb @@ -8,7 +8,7 @@ class StatsController < ApplicationController def index @page_title = t('stats.index_title') @hidden_contexts = current_user.contexts.hidden - @stats = Stats::IndexPage.new(current_user) + @stats = Stats::UserStats.new(current_user) end def actions_done_last12months_data diff --git a/app/models/stats/index_page.rb b/app/models/stats/user_stats.rb similarity index 97% rename from app/models/stats/index_page.rb rename to app/models/stats/user_stats.rb index 0fabe7b1..6aaf52af 100644 --- a/app/models/stats/index_page.rb +++ b/app/models/stats/user_stats.rb @@ -1,5 +1,5 @@ module Stats - class IndexPage + class UserStats attr_reader :user def initialize(user)