Skip to content

Commit

Permalink
Merge pull request #48 from pepodev/master
Browse files Browse the repository at this point in the history
php 5.6
  • Loading branch information
gravitano committed Aug 7, 2015
2 parents 759aa7e + 9d2b8dd commit ee40c28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- hhvm

Expand Down
4 changes: 2 additions & 2 deletions src/Pingpong/Admin/routes.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

Route::group(['prefix' => config('admin.prefix', 'admin'), 'namespace' => 'Pingpong\Admin\Controllers'], function () {
Route::group(['before' => config('admin.filter.guest')], function () {
Route::group(['middleware' => config('admin.filter.guest')], function () {
Route::resource('login', 'LoginController', [
'only' => ['index', 'store'],
'names' => [
Expand All @@ -11,7 +11,7 @@
]);
});

Route::group(['before' => config('admin.filter.auth')], function () {
Route::group(['middleware' => config('admin.filter.auth')], function () {
Route::get('/', ['as' => 'admin.home', 'uses' => 'SiteController@index']);
Route::get('/logout', ['as' => 'admin.logout', 'uses' => 'SiteController@logout']);

Expand Down

0 comments on commit ee40c28

Please sign in to comment.