Methods

Files

Class Index [+]

Quicksearch

UbiquoDesign::Connectors::Standard::PagesController::InstanceMethods

Public Instance Methods

uhook_load_page() click to toggle source

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.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.