Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API documentation and revert unnecessary change in preview.rb #1827

Merged
merged 3 commits into from
Aug 25, 2023

Conversation

rmacklin
Copy link
Collaborator

Addresses #1774 (review)

Technically, it's possible (though admittedly weird) to have an
environment where `Rails.application` is present even if
`Rails.application.routes.url_helpers` is not defined - and the change
made to this line in 6979de9 would no
longer handle that correctly.
Running `bundle exec rake docs:build` after
6979de9 produced a dirty git status, so
we are committing the corresponding API documentation changes.
@rmacklin
Copy link
Collaborator Author

cc @boardfish @camertron

@camertron camertron merged commit b0ed862 into main Aug 25, 2023
37 checks passed
@camertron camertron deleted the address-comments-on-pr-1774 branch August 25, 2023 22:31
claudiob pushed a commit to claudiob/view_component that referenced this pull request Dec 22, 2023
…iewComponent#1827)

* Revert unnecessary change in lib/view_component/preview.rb

Technically, it's possible (though admittedly weird) to have an
environment where `Rails.application` is present even if
`Rails.application.routes.url_helpers` is not defined - and the change
made to this line in 6979de9 would no
longer handle that correctly.

* Regenerate API documentation to include latest changes

Running `bundle exec rake docs:build` after
6979de9 produced a dirty git status, so
we are committing the corresponding API documentation changes.

* Add changelog entry
claudiob pushed a commit to claudiob/view_component that referenced this pull request Jan 3, 2024
…iewComponent#1827)

* Revert unnecessary change in lib/view_component/preview.rb

Technically, it's possible (though admittedly weird) to have an
environment where `Rails.application` is present even if
`Rails.application.routes.url_helpers` is not defined - and the change
made to this line in 6979de9 would no
longer handle that correctly.

* Regenerate API documentation to include latest changes

Running `bundle exec rake docs:build` after
6979de9 produced a dirty git status, so
we are committing the corresponding API documentation changes.

* Add changelog entry
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.

2 participants