Class/Module Index [+]

Quicksearch

Ramaze::Helper::Link

This is a modification of Innate::Helper::Link to respect the routing of Ramaze

NOTE: The A/R/Rs methods have been deprecated.

Public Instance Methods

route_location(klass) click to toggle source
# File lib/ramaze/helper/link.rb, line 13
def route_location(klass)
  prefix = Ramaze.options.prefix
  location = Ramaze.to(klass) || Ramaze.to(klass.class)
  [prefix, location].join('/')
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.