Class: Locomotive::Steam::Liquid::Tags::PathTo
Constant Summary
Concerns::Path::Syntax
Instance Method Summary
collapse
#initialize, #render_path
#change_page_locale
Instance Method Details
#render(context) ⇒ Object
10
11
12
|
# File 'lib/locomotive/steam/liquid/tags/path_to.rb', line 10
def render(context)
render_path(context)
end
|
#wrong_syntax! ⇒ Object
14
15
16
|
# File 'lib/locomotive/steam/liquid/tags/path_to.rb', line 14
def wrong_syntax!
raise SyntaxError.new("Valid syntax: path_to <page|page_handle|content_entry>(, locale: [fr|de|...], with: <page_handle>")
end
|