class Locomotive::Steam::Liquid::Tags::PathTo

Public Instance Methods

render(context) click to toggle source
# File lib/locomotive/steam/liquid/tags/path_to.rb, line 11
def render(context)
  render_path(context)
end
wrong_syntax!() click to toggle source
# File lib/locomotive/steam/liquid/tags/path_to.rb, line 15
def wrong_syntax!
  raise SyntaxError.new("Valid syntax: path_to <page|page_handle|content_entry>(, locale: [fr|de|...], with: <page_handle>")
end