Skip to content

Commit

Permalink
Renamed scope to scopes in trait for more consistency.
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Lewis <[email protected]>
  • Loading branch information
jasonlewis committed Nov 27, 2014
1 parent febeb58 commit 02f20fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- Added a `Dispatcher::on` method to indicate which domain the dispatcher should work on.
- Relations are automatically loaded when using Fractal includes.
- Added a `Dispatcher::raw` method to return a raw response object instead of the original content.
- Renamed `ControllerTrait::scope` to `ControllerTrait::scopes` for consistency with other methods of definding scopes.

### v0.6.5

Expand Down
2 changes: 1 addition & 1 deletion src/Routing/ControllerTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ trait ControllerTrait
* @param string|array $methods
* @return \Illuminate\Routing\Controller
*/
protected function scope($scopes, $methods = null)
protected function scopes($scopes, $methods = null)
{
$scopes = $this->preparePropertyValue($scopes);

Expand Down

0 comments on commit 02f20fe

Please sign in to comment.