Skip to content

Commit

Permalink
Merge pull request #2575 from buildkite/fix-erb-partial
Browse files Browse the repository at this point in the history
Fix rendering ERB partial
  • Loading branch information
dannymidnight authored Nov 29, 2023
2 parents b5e507c + 5c15584 commit ed403ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_binding
end

def render(partial)
PagesController.render(partial: partial, formats: [:md])
PagesController.render(partial: partial, formats: [:md, :html])
end

def render_markdown(partial: nil, text: nil)
Expand Down

0 comments on commit ed403ae

Please sign in to comment.