Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

method_missing is private

  • Loading branch information...
commit 1657d185fbeedc64842e2f9debd736d56de01140 1 parent 883fe01
@dchelimsky dchelimsky authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/rspec/rails/example/routing_example_group.rb
View
2  lib/rspec/rails/example/routing_example_group.rb
@@ -13,6 +13,8 @@ module RoutingExampleGroup
module InstanceMethods
attr_reader :routes
+ private
+
def method_missing(m, *args, &block)
routes.url_helpers.respond_to?(m) ? routes.url_helpers.send(m, *args) : super
end
Please sign in to comment.
Something went wrong with that request. Please try again.