Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2] Move ability map to a method #13214

Merged
merged 1 commit into from
Apr 19, 2016

Conversation

JosephSilber
Copy link
Contributor

So that it can be overridden in any controller.

*
* @var array
*/
protected $resourceAbilityMap = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep this property, and just return it in the method for BC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GrahamCampbell It hasn't been tagged yet.

@taylorotwell taylorotwell merged commit d0b5291 into laravel:5.2 Apr 19, 2016
@JosephSilber JosephSilber deleted the ability-map-method branch May 1, 2016 18:14
'show' => 'view',
'edit' => 'update',
'update' => 'update',
'delete' => 'delete',
Copy link
Contributor

@silverqx silverqx May 26, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related bug #13716 @JosephSilber

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants