Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 4149aa28c5253e908ab3b091b8fc7bd9633c92a9 1 parent 505a58f
@zk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/models/function.rb
View
2  app/models/function.rb
@@ -45,7 +45,7 @@ def update_weight
end
def href
- "/v/#{id}"
+ "/#{library.url_friendly_name}/#{namespace.name}/#{url_friendly_name}"
end
def library
Please sign in to comment.
Something went wrong with that request. Please try again.