Skip to content

Commit

Permalink
Merge pull request spree-contrib#11 from Scoutmob/master
Browse files Browse the repository at this point in the history
Fix namespacing issue
  • Loading branch information
JDutil committed Mar 23, 2012
2 parents c42f048 + db63eb7 commit cefed5e
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 cefed5e

Please sign in to comment.