-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
middleware issue #961
Open
sraiyani
wants to merge
94
commits into
Zizaco:master
Choose a base branch
from
jromero98:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
middleware issue #961
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix: str_is helper function issue
support for laravel 10
support for laravel 10
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v2...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [theseer/tokenizer](https://github.com/theseer/tokenizer) from 1.2.1 to 1.2.2. - [Release notes](https://github.com/theseer/tokenizer/releases) - [Changelog](https://github.com/theseer/tokenizer/blob/master/CHANGELOG.md) - [Commits](theseer/tokenizer@1.2.1...1.2.2) --- updated-dependencies: - dependency-name: theseer/tokenizer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…enizer-1.2.2 Bump theseer/tokenizer from 1.2.1 to 1.2.2
…ns/cache-3 Bump actions/cache from 2 to 3
…ns/checkout-4 Bump actions/checkout from 2 to 4
Bumps [overtrue/phplint](https://github.com/overtrue/phplint) from 8.2 to 9.1. - [Release notes](https://github.com/overtrue/phplint/releases) - [Changelog](https://github.com/overtrue/phplint/blob/main/CHANGELOG.md) - [Commits](overtrue/phplint@8.2...9.1) --- updated-dependencies: - dependency-name: overtrue/phplint dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
…rue/phplint-9.1 Bump overtrue/phplint from 8.2 to 9.1
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 3 to 4. - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](actions/dependency-review-action@v3...v4) --- updated-dependencies: - dependency-name: actions/dependency-review-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [theseer/tokenizer](https://github.com/theseer/tokenizer) from 1.2.2 to 1.2.3. - [Release notes](https://github.com/theseer/tokenizer/releases) - [Changelog](https://github.com/theseer/tokenizer/blob/master/CHANGELOG.md) - [Commits](theseer/tokenizer@1.2.2...1.2.3) --- updated-dependencies: - dependency-name: theseer/tokenizer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…ns/cache-4 Bump actions/cache from 3 to 4
…ns/dependency-review-action-4 Bump actions/dependency-review-action from 3 to 4
…enizer-1.2.3 Bump theseer/tokenizer from 1.2.2 to 1.2.3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
if i am adding middleware route function is not working
Route::group(['middleware' => ['prevent-back-history','auth']],function(){
Route::get('/role', ['middleware' => ['permission:role.view'],'uses'=>'Admin\RoleController@index']);
Route::get('/role/create', ['middleware' => ['permission:role.create'],'uses'=>'Admin\RoleController@create']);
Route::post('/role/store', ['middleware' => ['permission:role.create'],'uses'=>'Admin\RoleController@store']);
Route::get('/role/edit/{id}', ['middleware' => ['permission:role.edit'],'uses'=>'admin\RoleController@edit', 'as'=>'role-edit']);
Route::put('/role/edit/{id}', ['middleware' => ['permission:role.edit'],'uses'=>'admin\RoleController@update', 'as'=>'role-update']);
});
controller code
class RoleController extends Controller
{
public function __construct()
{
$this->middleware('auth');
}
}
getting this error whar is the issue Please suggest me