Skip to content

Let's not set :title inside a partial#53

Merged
amatsuda merged 1 commit into
ruby:mainfrom
amatsuda:content_for_in_partial
Oct 15, 2025
Merged

Let's not set :title inside a partial#53
amatsuda merged 1 commit into
ruby:mainfrom
amatsuda:content_for_in_partial

Conversation

@amatsuda

Copy link
Copy Markdown
Member

Current code calls content_for :title inside a partial template, but that's something that generally should better not be done in partials, since partials can be repeatedly called from index action (which is something that I'm planning to implement later).

@amatsuda
amatsuda merged commit cd5c23a into ruby:main Oct 15, 2025
1 of 2 checks passed
@amatsuda
amatsuda deleted the content_for_in_partial branch October 15, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant