Permalink
Browse files

Switched to lib/ns/var url format for Function.href

  • Loading branch information...
1 parent 505a58f commit 4149aa28c5253e908ab3b091b8fc7bd9633c92a9 @zk committed Sep 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/function.rb
View
@@ -45,7 +45,7 @@ def update_weight
end
def href
- "/v/#{id}"
+ "/#{library.url_friendly_name}/#{namespace.name}/#{url_friendly_name}"
end
def library

0 comments on commit 4149aa2

Please sign in to comment.