Skip to content

Commit

Permalink
Adding special guct 4xl (only 1).
Browse files Browse the repository at this point in the history
  • Loading branch information
karledurante committed Nov 13, 2012
1 parent db33875 commit 991bf96
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ class HomeController < ApplicationController
def index
@goal = Goal.first || Goal.new
end

# special one time buy case
def guct
end
end
2 changes: 2 additions & 0 deletions app/views/home/guct.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h1>Gildan Ultra Cotton 4XL</h1>
<a class="wepay-widget-button wepay-green" id="wepay_widget_anchor_50a2d609ed6e6" href="https://www.wepay.com/stores/255710/item/664331">Buy Now</a><script type="text/javascript">var WePay = WePay || {};WePay.load_widgets = WePay.load_widgets || function() { };WePay.widgets = WePay.widgets || [];WePay.widgets.push( {object_id: 664331,widget_type: "store_item_buy_now",anchor_id: "wepay_widget_anchor_50a2d609ed6e6",widget_options: {store_id: 255710,show_item_price: true,show_item_images: true,button_text_sold_out: "Sold Out",show_item_custom_options: true,button_text: "Buy Now"}});if (!WePay.script) {WePay.script = document.createElement('script');WePay.script.type = 'text/javascript';WePay.script.async = true;WePay.script.src = 'https://static.wepay.com/min/js/widgets.v2.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(WePay.script, s);} else if (WePay.load_widgets) {WePay.load_widgets();}</script>
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@

end

match '/special/guct' => 'home#guct'
root :to => 'home#index'
end

0 comments on commit 991bf96

Please sign in to comment.