Permalink
Browse files

Add missing Webmachine::Translation include to Webmachine::Dispatcher…

…::Route.
  • Loading branch information...
petejohanson committed Jun 20, 2012
1 parent 8a1a701 commit 656d089cada431d16e57179d167c621ff1f51cd4
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/webmachine/dispatcher/route.rb
@@ -6,6 +6,8 @@ class Dispatcher
# Pairs URIs with {Resource} classes in the {Dispatcher}. To
# create routes, use {Dispatcher#add_route}.
class Route
+ include Webmachine::Translation
+
# @return [Class] the resource this route will dispatch to, a
# subclass of {Resource}
attr_reader :resource

0 comments on commit 656d089

Please sign in to comment.