diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 0059339..3a0123e 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -6,7 +6,7 @@ def create redirect_to friends_path, :notice => "Signed in!" end - + def destroy session[:user_id] = nil redirect_to root_url, :notice => "Signed out!" diff --git a/app/views/contributions/new.html.erb b/app/views/contributions/new.html.erb index e26e6ee..bc6d88f 100644 --- a/app/views/contributions/new.html.erb +++ b/app/views/contributions/new.html.erb @@ -23,15 +23,12 @@ <%= f.text_field :payment, class: "form-control", id: "name", placeholder: "입금자명", required: true %> <%= f.text_field :contact, class: "form-control pull-right", id: "phone", placeholder: "연락 가능한 전화번호", required: true %> - -

축하 메시지

- <%= f.text_area :message, class: "form-control", rows: 4, placeholder: "작성한 메시지는 롤링페이퍼 형태로 함께 전달됩니다" %>
@@ -46,8 +43,6 @@
- -
<%= image_tag @fund.gift.image, size: "304x304" %>
diff --git a/app/views/gifts/_gift.html.erb b/app/views/gifts/_gift.html.erb index 049dcd9..1b81f18 100644 --- a/app/views/gifts/_gift.html.erb +++ b/app/views/gifts/_gift.html.erb @@ -9,14 +9,5 @@ <%= number_to_currency gift.price, unit: '₩ ', precision: 0 %>

- \ No newline at end of file diff --git a/app/views/gifts/recommendation.html.erb b/app/views/gifts/recommendation.html.erb index e11c972..f873717 100644 --- a/app/views/gifts/recommendation.html.erb +++ b/app/views/gifts/recommendation.html.erb @@ -1,4 +1,3 @@ -

선물이 추천되었습니다!

@@ -19,15 +18,11 @@ <%= paginate @gifts %>
- - - -