Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Update routing to use Spree::Core
Browse files Browse the repository at this point in the history
  • Loading branch information
jkongie committed Apr 18, 2012
1 parent 4de24bc commit ac27f50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
@@ -0,0 +1,4 @@
<tr>
<td><%= link_to t("mailchimp_settings"), admin_mail_chimp_settings_path %></td>
<td><%= t('mailchimp_settings_description') %></td>
</tr>
6 changes: 2 additions & 4 deletions config/routes.rb
@@ -1,9 +1,7 @@
Rails.application.routes.draw do

Spree::Core::Engine.routes.draw do
resources :subscriptions, :only => :create

namespace :admin do
resource :mail_chimp_settings
resource :mail_chimp_settings
end

end

0 comments on commit ac27f50

Please sign in to comment.