We're also renaming the `poll-results-stats` class to `poll-results`. The former name was confusing because it had nothing to do with stats.
8 lines
124 B
Ruby
8 lines
124 B
Ruby
class Polls::ResultsComponent < ApplicationComponent
|
|
attr_reader :poll
|
|
|
|
def initialize(poll)
|
|
@poll = poll
|
|
end
|
|
end
|