class Refinery::Pages::Url::Marketable

Public Class Methods

handle?(page) click to toggle source
# File lib/refinery/pages/url.rb, line 35
def self.handle?(page)
  Refinery::Pages.marketable_urls
end

Public Instance Methods

url() click to toggle source
# File lib/refinery/pages/url.rb, line 39
def url
  url_hash = base_url_hash.merge(:path => page.nested_url, :id => nil)
  with_locale_param(url_hash)
end