Permalink
Browse files

Merge pull request #45 from railsme/patch-1

fix mistake in accessors definition
  • Loading branch information...
2 parents 907136f + be39cd1 commit bddf4fbdf64ab5409fa09e8b603d82d39af7c244 @joshbuddy committed Apr 21, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/http_router/route.rb
@@ -6,7 +6,7 @@ class Route
VALID_HTTP_VERBS = %w{GET POST PUT DELETE HEAD OPTIONS TRACE PATCH OPTIONS LINK UNLINK}
VALID_HTTP_VERBS_WITHOUT_GET = VALID_HTTP_VERBS - %w{GET}
- attr_reader :default_values, :router, :match_partially, :other_hosts, :paths, :request_methods, :name
+ attr_reader :default_values, :other_hosts, :paths, :request_methods, :name
attr_accessor :match_partially, :router, :host, :user_agent, :ignore_trailing_slash,
:path_for_generation, :path_validation_regex, :generator, :scheme, :original_path, :dest

0 comments on commit bddf4fb

Please sign in to comment.