Method: CmsPage.load_for_full_path

Defined in:
app/models/cms_page.rb

.load_for_full_path(site, path) ⇒ Object

Non-blowing-up version of the method above



83
84
85
86
87
# File 'app/models/cms_page.rb', line 83

def self.load_for_full_path(site, path)
  load_for_full_path!(site, path) 
rescue ActiveRecord::RecordNotFound
  nil
end