Browse files

updates hooks document so that the settings link appears properly

  • Loading branch information...
1 parent e3e76bd commit e2790dbdf5ed6f92a1f8f3d1eb859050ba0ddbf0 @bryanmtl bryanmtl committed Aug 23, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/spree_free_shipping_hooks.rb
View
5 lib/spree_free_shipping_hooks.rb
@@ -1,7 +1,10 @@
class SpreeFreeShippingHooks < Spree::ThemeSupport::HookListener
insert_after :admin_configurations_menu do
- %(<%= tab :free_shipping_settings %>)
+ '<tr>
+ <td><%= link_to t("free_shipping_settings"), admin_free_shipping_settings_path %></td>
+ <td><%= t("free_shipping_settings_description") %></td>
+ </tr>'
end
end

0 comments on commit e2790db

Please sign in to comment.