Module: Pageflow::ThemingsHelper

Defined in:
app/helpers/pageflow/themings_helper.rb

Constant Summary collapse

DEFAULT_PUBLIC_ENTRY_OPTIONS =
lambda do |theming|
  theming.cname.present? ? {host: theming.cname} : nil
end

Instance Method Summary collapse

Instance Method Details

#pretty_theming_url(theming) ⇒ Object



7
8
9
# File 'app/helpers/pageflow/themings_helper.rb', line 7

def pretty_theming_url(theming)
  public_root_url(Pageflow.config.theming_url_options(theming))
end