mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-03 07:48:50 +01:00
Rename variables
The current user isn't necessarily current when it is in the model layer. The exposed attributes on the tag cloud no longer need to contain type information.
This commit is contained in:
parent
8f6d57014a
commit
edc793e703
2 changed files with 24 additions and 24 deletions
|
|
@ -555,12 +555,12 @@ class StatsController < ApplicationController
|
|||
cloud = Stats::TagCloud.new(current_user, @cut_off_3months)
|
||||
cloud.compute
|
||||
|
||||
@tags_for_cloud = cloud.tags_for_cloud
|
||||
@tags_min = cloud.tags_min
|
||||
@tags_divisor = cloud.tags_divisor
|
||||
@tags_for_cloud_90days = cloud.tags_for_cloud_90days
|
||||
@tags_min_90days = cloud.tags_min_90days
|
||||
@tags_divisor_90days = cloud.tags_divisor_90days
|
||||
@tags_for_cloud = cloud.tags
|
||||
@tags_min = cloud.min
|
||||
@tags_divisor = cloud.divisor
|
||||
@tags_for_cloud_90days = cloud.tags_90days
|
||||
@tags_min_90days = cloud.min_90days
|
||||
@tags_divisor_90days = cloud.divisor_90days
|
||||
end
|
||||
|
||||
def get_ids_from (actions, week_from, week_to, at_end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue