Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Fix View.content and View.global_content when options are passed #157

Merged
merged 1 commit into from
Jan 15, 2019

Conversation

MikeAndrianov
Copy link
Contributor

Currently you can't pass some options (like it specified in the readme) because error is present: undefined function content/5

This PR fixes behaviour and allows to run this code

<%= content(@conn, "Ident", :html, id: "my-id", classes: "more classes") do %>
  <h1>Title</h1>
<% end %>

without errors.

@jamonholmgren jamonholmgren merged commit 654515b into infinitered:master Jan 15, 2019
@jamonholmgren
Copy link
Member

🎉 Thanks @MikeAndrianov , just released Thesis 0.3.2 which should contain this fix. 🎉

Really appreciate your help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants