-
Couldn't load subscription status.
- Fork 483
Closed
Description
Hello, I am trying to preview components which are in modules.
When I try to write it like this all my components under rails/components disappear.
module Foo
class BarPreview < ActionView::Component::Preview
def default
render Bar
end
end
endTo make preview list work again I must not only remove this code, but also restart server (puma-dev).
However, code written like this is valid and works right.
class Foo::BarPreview < ActionView::Component::Preview
def default
render Bar
end
endIs it a bug or I am doing something wrong?
System configuration
Rails version: 5.2.4.1
Ruby version: 2.6.3
gem version: 1.8.1
Metadata
Metadata
Assignees
Labels
No labels