Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Nov 15, 2022
2 parents a7cd296 + 0f7617b commit a44de56
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
4 changes: 2 additions & 2 deletions box.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name":"ColdBox i18n and Localization",
"author":"Ortus Solutions <info@ortussolutions.com>",
"version":"3.0.0",
"version":"3.1.0",
"location":"https://downloads.ortussolutions.com/ortussolutions/coldbox-modules/cbi18n/@build.version@/cbi18n-@build.version@.zip",
"slug":"cbi18n",
"type":"modules",
Expand All @@ -25,7 +25,7 @@
"Jon Clausen <jon_clausen@silowebworks.com>",
"Wil de Bruin <wil@site4u.nl>"
],
"devDependencies":{
"devDependencies":{
"commandbox-cfformat":"*",
"commandbox-docbox":"*",
"commandbox-dotenv":"*",
Expand Down
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

----

## [3.0.0] => 2022-NOV-15

### Added

* New ColdBox 7 delegate: `Resourceful@cbi18n`

----

## [3.0.0] => 2022-OCT-10

### Added
Expand Down
15 changes: 15 additions & 0 deletions models/delegates/Resourceful.cfc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
* www.ortussolutions.com
* ---
* This delegate adds resource capabilities to models
*/
component singleton {

// Delegations
property
name ="resourceService"
inject ="resourceService@cbi18n"
delegate="getResource";

}

0 comments on commit a44de56

Please sign in to comment.