Skip to content

Commit

Permalink
Add "asset_url" value from configuration in RoutingServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
Frano committed Dec 19, 2019
1 parent bb63b98 commit f9bf634
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# CHANGELOG

## v1.0 (2019-11-14)
## v1.1.0 (2019-12-19)

### Fixed
- Call `asset_url` value from configuration in `RoutingServiceProvider`

### Changed
- Changed `phpunit/phpunit` version in `composer.json` file

## v1.0.0 (2019-11-14)

### Added
- Added support for Laravel 6.x version

### Changed
- Changed `travis.yml` file, removed `php 7.1` line, added `php 7.2` and `php 7.3`

## v0.3.3 (2018-10-16)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Adds redirection with trailing slash to Laravel 6.x.

| Laravel Trailing Slash | Laravel | PHP |
|-----------------------------------------------------------------------|-----------|---------|
| [1.x](https://github.com/fsasvari/laravel-trailing-slash/tree/v1.0.1) | 6.x | 7.2+ |
| [1.x](https://github.com/fsasvari/laravel-trailing-slash/tree/v1.1.0) | 6.x | 7.2+ |
| [0.3.x](https://github.com/fsasvari/laravel-trailing-slash/tree/0.3) | 5.7-5.8 | 7.1.3+ |
| [0.2.x](https://github.com/fsasvari/laravel-trailing-slash/tree/0.2) | 5.6 | 7.1.3+ |
| [0.1.x](https://github.com/fsasvari/laravel-trailing-slash/tree/0.1) | 5.5 | 7.0.0+ |
Expand Down
2 changes: 1 addition & 1 deletion src/RoutingServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected function registerUrlGenerator()
$url = new UrlGenerator(
$routes, $app->rebinding(
'request', $this->requestRebinder()
)
), $app['config']['app.asset_url']
);

// Next we will set a few service resolvers on the URL generator so it can
Expand Down

0 comments on commit f9bf634

Please sign in to comment.