Use a more appropriate name for stats domain object

This commit is contained in:
Katrina Owen 2013-03-05 07:49:44 -07:00
parent 34e0c2b13a
commit 3479585991
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -1,5 +1,5 @@
module Stats
class IndexPage
class UserStats
attr_reader :user
def initialize(user)