Implements registrations over time chart

This commit is contained in:
Chrisbr 2014-05-31 13:23:41 +02:00
parent c3d3440745
commit 70c7f78024
11 changed files with 355 additions and 47 deletions

View file

@ -15,6 +15,14 @@ module ApplicationHelper
end
end
def normalize_array_length(hashmap, length)
hashmap.each do |key, value|
if value.length < length
value.fill(value[-1], value.length...length)
end
end
end
def active_nav_li(link)
if current_page?(link)
return 'active'