Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Resolve the twitter bootstrap jquery 1.8 dropdown problem

  • Loading branch information...
commit 6d83268eae2b9e0d201e3f8326b99a1249d28a82 1 parent 053fa16
@gauravmc gauravmc authored
View
2  README.rdoc
@@ -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.
View
2  lib/generators/shopify_app/README
@@ -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:
View
4 lib/generators/shopify_app/templates/app/views/layouts/application.html.erb
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.