-
Notifications
You must be signed in to change notification settings - Fork 96
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
Admin dashboard where admins can view, edit, approve, delete snippets #7
Comments
For the admin side I suggest using this package: https://github.com/MrJuliuss/syntara. It uses Sentry, but I don't know how much is be done with your auth system. It should be refactored if you plan to use this package. |
Looks good. If you can replace the current simple authentication implementation w/o any issues then it would be great! 👍 |
How would you organize the code? Today I tried seeding the database using Faker, but I had some problems For the User model worked perfectly, but when I tried to run Tomorrow I will post the code. Maybe I am doing something wrong. If you have time try it yourself. Let me know id it worked for you. On Sunday, January 5, 2014, John Kevin M. Basco wrote:
Best regards, Ionut Tanasa This email (including any attachment) is a personal message and may contain Cordiali saluti, Ionut Tanasa Il presente messaggio, inclusi gli eventuali allegati, ha natura personale |
I think its because of the SnippetObserver. When you are creating a snippet it auto attaches the id of the current logged-in user.
In tests, to log in a user you can use: $this->be($user); You can create a helper function in the seeder to login a user. Just copy the implementation of $this->be($user); Source code: https://github.com/laravel/framework/blob/master/src/Illuminate/Foundation/Testing/TestCase.php#L345 |
Ok. I'll make the necessary changes :) |
No description provided.
The text was updated successfully, but these errors were encountered: