app/views/styleus/_component.html.erb in styleus-0.0.9 vs app/views/styleus/_component.html.erb in styleus-0.0.10
- old
+ new
@@ -1,5 +1,7 @@
<section class="<%= classes %>">
- <%= render layout: 'layouts/styleus_context' do %>
- <%= yield %>
+ <%= _application_context do %>
+ <%= _component_context(partial_path) do %>
+ <%= yield %>
+ <% end %>
<% end %>
</section>
\ No newline at end of file