Skip to content

Commit

Permalink
Fix namespace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cyu committed Mar 23, 2012
1 parent c42f048 commit db63eb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/spree/admin/orders_controller_decorator.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Spree::Admin::OrdersController.class_eval do
def comments
load_order
@comment_types = CommentType.where(:applies_to => "Order")
@comment_types = Spree::CommentType.where(:applies_to => "Order")
end
end
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Spree::Admin::ShipmentsController.class_eval do
def comments
load_shipment
@comment_types = CommentType.where(:applies_to => "Shipment")
@comment_types = Spree::CommentType.where(:applies_to => "Shipment")
end
end

0 comments on commit db63eb7

Please sign in to comment.