Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing the to_param for Address.

  • Loading branch information...
commit 900d737361ec7d10566acf5117038148210dad9f 1 parent e7aaa4d
@waratuman waratuman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/mls/models/address.rb
View
2  lib/mls/models/address.rb
@@ -53,7 +53,7 @@ def avatar(size='100x200', protocol='http')
end
def to_param
- [address.state, address.city, address.name].map(&:parameterize).join('/')
+ [state, city, name].map(&:parameterize).join('/')
end
class << self
Please sign in to comment.
Something went wrong with that request. Please try again.