Sha256: 48f4149a2ae78d947f06ecc3b024de2a57d5660bb6e61d5282ea0ed13c54ff13

Contents?: true

Size: 274 Bytes

Versions: 8

Compression:

Stored size: 274 Bytes

Contents

# encoding: utf-8

require "usher"

Rango::Router.implement(:usher) do |env|
  env["rango.router.params"] = env["usher.params"]
end

module Rango
  module UrlHelper
    # url(:login)
    def url(*args)
      Project.router.router.generator.generate(*args)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rango-0.1.1.2.5 lib/rango/router/adapters/usher.rb
rango-0.1.1.2.4 lib/rango/router/adapters/usher.rb
rango-0.1.1.2.3 lib/rango/router/adapters/usher.rb
rango-0.1.1.2.2 lib/rango/router/adapters/usher.rb
rango-0.1.1.2.1 lib/rango/router/adapters/usher.rb
rango-0.1.1.2 lib/rango/router/adapters/usher.rb
rango-0.1.1.1 lib/rango/router/adapters/usher.rb
rango-0.1.1 lib/rango/router/adapters/usher.rb