Skip to content

Commit

Permalink
Merge pull request #80 from sparta-201803/feature/issues/#78
Browse files Browse the repository at this point in the history
git push
  • Loading branch information
noopy0415 authored Apr 25, 2018
2 parents 1818d26 + 06fb280 commit ef5a577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/products/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<%= button_to "編集", edit_product_path, method: :get, class: "btn btn-default" %>
<% end %>
<% else %>
<%= button_to "購入", buy_product_path(@product), disabled: true, class: "btn btn-default" %>
<%= button_to "購入", product_path(@product), disabled: true, class: "btn btn-default" %>
<% end %>
</div>
</div>

0 comments on commit ef5a577

Please sign in to comment.