Skip to content

Commit

Permalink
Remove UserBanners which don't appear to be used anymore
Browse files Browse the repository at this point in the history
Conflicts:
	backend/config/routes.rb
  • Loading branch information
radar committed Oct 21, 2013
1 parent dff626d commit 2c5c2c4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 61 deletions.
14 changes: 0 additions & 14 deletions backend/app/controllers/spree/admin/banners_controller.rb

This file was deleted.

16 changes: 0 additions & 16 deletions backend/app/views/spree/admin/banners/_gateway.html.erb

This file was deleted.

6 changes: 1 addition & 5 deletions backend/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
end

resources :zones
resources :banners do
member do
post :dismiss
end
end

resources :countries do
resources :states
end
Expand Down
1 change: 0 additions & 1 deletion core/config/initializers/user_class_extensions.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Spree::Core::Engine.config.to_prepare do
if Spree.user_class
Spree.user_class.class_eval do
include Spree::Core::UserBanners
has_and_belongs_to_many :spree_roles,
:join_table => 'spree_roles_users',
:foreign_key => "user_id",
Expand Down
25 changes: 0 additions & 25 deletions core/lib/spree/core/user_banners.rb

This file was deleted.

2 comments on commit 2c5c2c4

@tomkrus
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@radar
Copy link
Contributor Author

@radar radar commented on 2c5c2c4 Oct 22, 2013 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.