Skip to content

Commit

Permalink
ログアウト機能を動かすため、HTTPメソッドを指定
Browse files Browse the repository at this point in the history
  • Loading branch information
yumayo14 committed Jan 24, 2018
1 parent f148988 commit bab0677
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/users/edit.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
%span
プロフィール
%li.nav-item
= link_to destroy_user_session_path do
= link_to destroy_user_session_path, method: :delete do
%span
ログアウト

Expand Down
2 changes: 1 addition & 1 deletion app/views/users/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
%span
プロフィール
%li.nav-item
= link_to destroy_user_session_path do
= link_to destroy_user_session_path, method: :delete do
%span
ログアウト
%h2 ユーザー一覧

0 comments on commit bab0677

Please sign in to comment.