Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #56 from petejohanson/route_error_translation

Add missing Webmachine::Translation include to Webmachine::Dispatcher::R...
  • Loading branch information...
commit cdff12d7a5638c58b184d7a8583333b5818e1ff2 2 parents 49fadb1 + 656d089
Sean Cribbs authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/webmachine/dispatcher/route.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.