Skip to content

Commit

Permalink
First Set Up
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryruel committed Jul 13, 2015
1 parent e4f01b7 commit 953daae
Show file tree
Hide file tree
Showing 580 changed files with 171,165 additions and 26 deletions.
3 changes: 3 additions & 0 deletions .bowerrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"directory" : "resources/assets/js/bower_components"
}
10 changes: 10 additions & 0 deletions app/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,13 @@
Route::get('/', function () {
return view('welcome');
});


Route::controllers([
'auth' => 'Auth\AuthController',
'password' => 'Auth\PasswordController',
]);

Route::get('/home', function(){
return view('dashboard.index');
});
10 changes: 10 additions & 0 deletions app/Models/Permission.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace App\Models;

use Zizaco\Entrust\EntrustPermission;

class Permission extends EntrustPermission
{
protected $fillable = ['name', 'display_name', 'description'];
}
10 changes: 10 additions & 0 deletions app/Models/Role.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace App\Models;

use Zizaco\Entrust\EntrustRole;

class Role extends EntrustRole
{
protected $fillable = ['name', 'display_name', 'description'];
}
3 changes: 2 additions & 1 deletion app/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
use Zizaco\Entrust\Traits\EntrustUserTrait;

class User extends Model implements AuthenticatableContract, CanResetPasswordContract
{
use Authenticatable, CanResetPassword;
use Authenticatable, CanResetPassword, EntrustUserTrait;

/**
* The database table used by the model.
Expand Down
23 changes: 23 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Your App",
"version": "1.0.0",
"main": "/css/all.css",
"ignore": [
".jshintrc",
"**/*.txt"
],
"dependencies": {
"jQuery": "*",
"bootstrap": "*",
"font-awesome": "~4.3.0",
"angular": "*",
"angular-bootstrap": "*",
"angular-resource": "*",
"moment": "*",
"angular-filter": "~0.5.4"
},
"devDependencies": {},
"resolutions": {
"angular": "~1.3.x"
}
}
Loading

0 comments on commit 953daae

Please sign in to comment.