track user verification and add statistics of verified users who did not vote proposals
This commit is contained in:
12
app/helpers/tracks_helper.rb
Normal file
12
app/helpers/tracks_helper.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
module TracksHelper
|
||||
def track_event(data={})
|
||||
track_data = ""
|
||||
prefix = " data-track-event-"
|
||||
data.each do |key, value|
|
||||
track_data = track_data + prefix + key.to_s + '=' + value + " "
|
||||
end
|
||||
content_for :track_event do
|
||||
track_data
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user