Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

first commit

  • Loading branch information...
commit 6afd4a74f6de225b04de8f3a3552018481394435 0 parents
@jjb authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 generators.rb
11 generators.rb
@@ -0,0 +1,11 @@
+class ModelURL
+ include ActionController::UrlWriter
+ @@singleton = ModelURL.new
+ class << self
+ def singleton
+ @@singleton
+ end
+ end
+end
+
+ModelURL::generator.send :user_widgets_url, :host => DOMAIN
Please sign in to comment.
Something went wrong with that request. Please try again.