Skip to content

Commit

Permalink
Add missing Webmachine::Translation include to Webmachine::Dispatcher…
Browse files Browse the repository at this point in the history
…::Route.
  • Loading branch information
petejohanson committed Jun 20, 2012
1 parent 8a1a701 commit 656d089
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/webmachine/dispatcher/route.rb
Expand Up @@ -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
Expand Down

0 comments on commit 656d089

Please sign in to comment.