Skip to content

Commit

Permalink
v1.1.1 (#8)
Browse files Browse the repository at this point in the history
* Bump dependencies and minor bug fix

* Update CHANGELOG
  • Loading branch information
tobytwigger authored Mar 12, 2020
1 parent 276bb14 commit 4cde011
Show file tree
Hide file tree
Showing 20 changed files with 756 additions and 117,909 deletions.
11 changes: 10 additions & 1 deletion 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

## [Unreleased]

## [1.1.1] - (12/03/2020)

### Added
- Bind the module instance in when using a custom route

### Changed
- Update modules and dependencies

## [1.1] - (25/02/2020)

### Added
Expand Down Expand Up @@ -41,7 +49,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Open and save module instances
- Change settings, permissions and third party connections

[Unreleased]: https://github.com/bristol-su/playground/compare/v1.1...HEAD
[Unreleased]: https://github.com/bristol-su/playground/compare/v1.1.1...HEAD
[1.1.1]: https://github.com/bristol-su/playground/compare/v1.1...v1.1.1
[1.1]: https://github.com/bristol-su/playground/compare/v1.0.3...v1.1
[1.0.3]: https://github.com/bristol-su/playground/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/bristol-su/playground/compare/v1.0.1...v1.0.2
Expand Down
4 changes: 3 additions & 1 deletion app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ public function boot()


Route::bind('module_instance_override', function($slug) {
return ModuleInstance::where('slug', $slug)->firstOrFail();
$moduleInstance = ModuleInstance::where('slug', $slug)->firstOrFail();
app()->instance(ModuleInstance::class, $moduleInstance);
return $moduleInstance;
});

parent::boot();
Expand Down
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
"license": "GPL-3.0-or-later",
"require": {
"php": "^7.2",
"bristol-su/static-page": "dev-develop",
"bristol-su/static-page": "^1.0",
"bristol-su/support": "^3.0",
"bristol-su/template": "dev-master",
"bristol-su/typeform": "dev-master",
"bristol-su/upload-file": "dev-master",
"bristol-su/typeform": "^1.0",
"bristol-su/upload-file": "^1.0",
"fideloper/proxy": "^4.0",
"laravel/framework": "^6.2",
"laravel/tinker": "^2.0"
Expand Down
Loading

0 comments on commit 4cde011

Please sign in to comment.