class Refinery::Pages::Url::Normal

Public Class Methods

handle?(page) click to toggle source
# File lib/refinery/pages/url.rb, line 46
def self.handle?(page)
  page.to_param.present?
end

Public Instance Methods

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