Loads the page for the public part. If present, uses an key to retrieve the page Else uses params[:url] to decide what page to show. Must return the expected Page instance or raise a not found exception.
# File vendor/plugins/ubiquo_design/lib/ubiquo_design/connectors/standard.rb, line 57
57: def uhook_load_page
58: if params[:key].present?
59: ::Page.published.find_by_key!(params[:key])
60: else
61: ::Page.published.with_url(params[:url])
62: end
63: end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.