Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Jul 3, 2016
1 parent 05c960c commit c347e5e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions readme.md
Expand Up @@ -22,25 +22,25 @@ Forked from [FrozenNode/Laravel-Administrator](https://github.com/FrozenNode/Lar
### 1. composer require

```
composer require "summerblue/administrator@^1.0"
composer require "summerblue/administrator:^1.0"
```

### 2. publish assets/config

```
php artisan vendor:publish
```

### 3. add provider
### 2. add provider

Edit `config/app.php` in `providers` array add provider:

```php
'providers' => [
'Frozennode\Administrator\AdministratorServiceProvider',
Frozennode\Administrator\AdministratorServiceProvider::class,
]
```

### 3. publish assets/config

```
php artisan vendor:publish
```

Read the docs: http://administrator.frozennode.com

-- end
6 changes: 3 additions & 3 deletions src/routes.php
Expand Up @@ -8,9 +8,9 @@
Route::group(array('domain' => config('administrator.domain'), 'prefix' => config('administrator.uri'), 'middleware' => 'Frozennode\Administrator\Http\Middleware\ValidateAdmin'), function () {

// hack by @Monkey: for custom route
Route::group(['prefix' => 'custom'], function () {
require config('administrator.custom_routes_file');
});
// Route::group(['prefix' => 'custom'], function () {
// require config('administrator.custom_routes_file');
// });

//Admin Dashboard
Route::get('/', array(
Expand Down

0 comments on commit c347e5e

Please sign in to comment.