Permalink
Browse files

remove CountryController from core as it's been deprecated

  • Loading branch information...
1 parent da6b9b1 commit 53e2cefe2cd529396cfaf5f1cac49e5ec2fe34b2 @joneslee85 joneslee85 committed with BDQ Feb 5, 2011
Showing with 0 additions and 16 deletions.
  1. +0 −11 core/app/controllers/countries_controller.rb
  2. +0 −1 core/app/views/countries/index.js.erb
  3. +0 −4 core/config/routes.rb
@@ -1,11 +0,0 @@
-class CountriesController < Spree::BaseController
- resource_controller
-
- index.response do |wants|
- wants.html
- wants.js do
- @countries = Country.where('lower(name) LIKE ?', "%#{params[:q].downcase}%")
- end
- end
-
-end
@@ -1 +0,0 @@
-<%= auto_complete_result @countries, :name %>
View
@@ -8,10 +8,6 @@
resources :tax_categories
- resources :countries, :only => :index do
- resources :states
- end
-
resources :states, :only => :index
# non-restful checkout stuff

0 comments on commit 53e2cef

Please sign in to comment.