More than 5 years have passed since last update.
<%= link_to "ホームに戻る", root_path %>
root_pathと入力することでホーム画面に行くことができる。
Register as a new user and use Qiita more conveniently