We're renaming the existing HTML class in order to be consistent with the name of the component.
9 lines
167 B
Ruby
9 lines
167 B
Ruby
class Polls::AccessStatusComponent < ApplicationComponent
|
|
attr_reader :poll
|
|
use_helpers :cannot?, :current_user
|
|
|
|
def initialize(poll)
|
|
@poll = poll
|
|
end
|
|
end
|