Project

General

Profile

Actions

Feature #10870

open

Reference snippet by something other than "name"

Added by larry campbell almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I'm running into the issue where someone wants to rename their snippet and it breaks references to that snippet. It would be nice if there some way to reference by UUID or some other method than by Snippet Name.

Renaming snippet breaks <%= snippet("this snippet") %>

Actions #1

Updated by Marek Hulán almost 9 years ago

  • Category set to Templates

Maybe we could introduce something like `snippet_by_id(1)`

Actions #2

Updated by larry campbell almost 9 years ago

Title should read "Reference snippet" not "Reference snipping"... autocorrect must have failed me without my notice. Can this be changed after the issue is created?

Actions #3

Updated by Marek Hulán almost 9 years ago

  • Subject changed from Reference snipping by something other than "name" to Reference snippet by something other than "name"
Actions

Also available in: Atom PDF