Permalink
Browse files

Resolve the twitter bootstrap jquery 1.8 dropdown problem

  • Loading branch information...
1 parent 053fa16 commit 6d83268eae2b9e0d201e3f8326b99a1249d28a82 Gaurav Chande committed Sep 27, 2012
View
@@ -5,7 +5,7 @@
This gem makes it easy to get a Rails 3.2 app up and running with the
Shopify API.
-The generator creates a basic sessions controller for authenticating with your
+The generator creates a basic SessionsController for authenticating with your
shop and a HomeController which displays basic information about your
products, orders and articles.
@@ -3,7 +3,7 @@
What's next?
------------
-Make sure to set the Application URL of the application your Shopify partner account
+Make sure to set the Application URL of the application in your Shopify partner account
to <tt>http://localhost:3000/login</tt>.
Then, start your application with:
@@ -45,12 +45,12 @@
<ul class="nav pull-right">
<li class="dropdown">
- <%= link_to raw(shop_session.url+' <b class="caret"></b>'), "https://#{shop_session.url}", :class => 'shop_name dropdown-toggle', :'data-toggle' => 'dropdown' %>
+ <%= link_to raw(shop_session.url+' <b class="caret"></b>'), "https://#{shop_session.url}", :class => 'shop_name dropdown-toggle', :'data-toggle' => 'dropdown', :'data-target' => '#' %>
<ul class="dropdown-menu">
<li><%= link_to raw('<i class="icon-home"></i> Storefront'), "http://"+shop_session.url, :target => 'blank' %></li>
<li><%= link_to raw('<i class="icon-cog"></i> Shopify Admin'), "http://"+shop_session.url+"/admin", :target => 'blank' %></li>
<li class="divider"></li>
- <li><%= link_to raw('<i class="icon-off"></i> logout'), logout_path %></li>
+ <li><%= link_to raw('<i class="icon-off"></i> Logout'), logout_path, :method => :delete %></li>
</ul>
</li>
</ul>

0 comments on commit 6d83268

Please sign in to comment.