Functionality migrated to MiniDocs.
This commit is contained in:
parent
7a46868862
commit
0f1f8e0418
@ -19,14 +19,3 @@ LeSnippet >> moveFrom: originPage to: destinationPage [
|
|||||||
origin removeSnippet: thisSnippet.
|
origin removeSnippet: thisSnippet.
|
||||||
destination addSnippet: thisSnippet.
|
destination addSnippet: thisSnippet.
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #'*LepiterPlugins' }
|
|
||||||
LeSnippet >> moveTo: pageName [
|
|
||||||
| db origin destination thisSnippet |
|
|
||||||
thisSnippet := self snippetModel.
|
|
||||||
db := self page database.
|
|
||||||
destination := db pageNamed: pageName.
|
|
||||||
origin := db pageNamed: thisSnippet page title.
|
|
||||||
origin removeSnippet: thisSnippet.
|
|
||||||
destination addSnippet: thisSnippet.
|
|
||||||
]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user