+Another way to reuse your existing views and partials are components with _*.haml_ templates. You can create a component and don't implement a `response` method. In this case matestack will look for a _*.haml_ file right next to it. In this _*.haml_ file you can access all variables, methods, helpers and so on which you could access in a component. Let's take a closer look by recreating our product teaser component with a _*.haml_ file. We create a file called `teaser_haml.rb` in `app/matestack/components/products/`.
0 commit comments