卒業生の声のページで、「卒業生の声」のタグがついた記事を動的に取得し表示するようにした。 #8272
Draft
+159
−184
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
概要
変更確認方法
feature/alumni-voices-dynamically-in-published-at-order
をローカルに取り込む。git fetch origin feature/alumni-voices-dynamically-in-published-at-order
git checkout feature/alumni-voices-dynamically-in-published-at-order
foreman start -f Procfile.dev
でローカルサーバーを立ち上げる。rails db:seed
を実行する。Screenshot
変更前
変更前はHTMLをベタ書きしている。

変更後
変更後は"卒業生の声"のタグのついたブログを動的に取得し、published_atが新しい順に表示している。
