Utils::Paths
Path helpers
Class methods
Returns a SafeURI for a static asset, with a cache-busting
query parameter derived from the asset's contents.
Returns a SafeURI for the Referer header, suitable as a
redirect target.
path_id_from_iri(iri : String) : String
SourceMacros
activity_path(activity = nil)
Sourceactor_bookmarks_path(actor)
Sourceactor_deck_pane_path(actor = nil, feed = nil, max_id = nil)
Sourceactor_deck_pane_position_path(actor = nil, feed = nil)
Sourceactor_deck_path(actor = nil)
Sourceactor_feed_id_path(actor = nil, feed = nil)
Sourceactor_feed_path(actor = nil, feed = nil)
Sourceactor_feeds_path(actor = nil, drafts = false)
Sourceactor_followers_path(actor)
Sourceactor_following_path(actor)
Sourceactor_path(actor = nil)
Sourceactor_relationships_path(actor = nil, relationship = nil)
Sourceactor_remote_follow_path(actor = nil)
Sourceactor_rss_feed_path(actor = nil)
Sourceadmin_accounts_path
Sourceadmin_oauth_clients_path
Sourceadmin_oauth_tokens_path
Sourceadmin_path
Sourceanchor(object = nil)
Sourceapprove_path(object = nil)
Sourceasset_path(path)
Sourceback_path(fallback = ::Ktistec::SafeURI.assert_safe("/"))
Sourceblock_actor_path(actor = nil)
Sourceblock_object_path(object = nil)
Sourcebookmark_path(object = nil)
Sourcecancel_fetch_hashtag_path(hashtag = nil)
Sourcecancel_fetch_thread_path(object = nil)
Sourceclear_translation_object_path(object = nil)
Sourcecreate_translation_object_path(object = nil)
Sourceedit_actor_feed_path(actor = nil, feed = nil)
Sourceedit_object_path(object = nil)
Sourceeverything_path
Sourcefetch_quote_authorization_path(object = nil)
Sourcefetch_quote_path(object = nil)
Sourcefilter_path(filter = nil)
Sourcefilters_path
Sourcefollow_hashtag_path(hashtag = nil)
Sourcefollow_mention_path(mention = nil)
Sourcefollow_thread_path(object = nil)
Sourcefragment_path(name)
A fragment-only relative reference (#{{name}}). Resolves
against the current page URL.
hashtag_path(hashtag = nil)
Sourcehome_path
Sourceinbox_path(actor = nil)
Sourcemcp_actor_path(actor)
Sourcemcp_information_path
Sourcemcp_object_path(object)
Sourcemcp_user_path(account)
Sourcemention_path(mention = nil)
Sourcemetrics_path
Sourcenew_actor_feed_path(actor = nil)
Sourceobject_path(object = nil)
Sourceobject_remote_like_path(object = nil)
Sourceobject_remote_reply_path(object = nil)
Sourceobjects_path
Sourceoutbox_path(actor = nil)
Sourcepin_path(object = nil)
Sourcepinned_collection_path(path)
Sourcepoll_vote_path(question = nil)
Sourcequery_path(query)
A query-only relative reference (?#{query}). Resolves against
the current page URL.
quote_path(object = nil)
Sourcerefresh_remote_actor_path(actor = nil)
Sourceremote_activity_path(activity = nil)
Sourceremote_actor_path(actor = nil)
Sourceremote_branch_path(object = nil, anchor = true)
Sourceremote_interaction_path
Sourceremote_object_path(object = nil)
Sourceremote_thread_analysis_path(object = nil)
Sourceremote_thread_path(object = nil, anchor = true)
Sourcereply_path(object = nil)
Sourcesearch_path
Sourcesessions_path
Sourcesettings_path
Sourcestart_fetch_hashtag_path(hashtag = nil)
Sourcestart_fetch_thread_path(object = nil)
Sourcestream_path(*segments, query = nil)
Sourcesystem_path
Sourcetasks_path
Sourcethread_path(object = nil, anchor = true)
Sourceunapprove_path(object = nil)
Sourceunblock_actor_path(actor = nil)
Sourceunblock_object_path(object = nil)
Sourceunfollow_hashtag_path(hashtag = nil)
Sourceunfollow_mention_path(mention = nil)
Sourceunfollow_thread_path(object = nil)
Sourceverify_quote_path(object = nil)
Source