Skip to content

Commit 63dc13a

Browse files
committed
Updating routes to be basic for core and adding curl to app config
1 parent 06ee080 commit 63dc13a

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

app/config/app.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
'Way\Generators\GeneratorsServiceProvider',
130130
'Juy\Profiler\Providers\ProfilerServiceProvider',
131131
'Intervention\Image\ImageServiceProvider',
132+
'anlutro\cURL\Laravel\cURLServiceProvider',
132133
'McCool\LaravelAutoPresenter\LaravelAutoPresenterServiceProvider',
133134
'Menu\MenuServiceProvider',
134135
'Syntax\Core\CoreServiceProvider',
@@ -199,6 +200,7 @@
199200
'Str' => 'Illuminate\Support\Str',
200201
'URL' => 'Illuminate\Support\Facades\URL',
201202
'Image' => 'Intervention\Image\Facades\Image',
203+
'cURL' => 'anlutro\cURL\Laravel\cURL',
202204
'Menu' => 'Menu\Menu',
203205
),
204206

app/routes.php

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
return Redirect::to('/')->with('message', 'You have successfully logged out.');
88
});
99

10-
// Non-Secure routes
11-
Route::controller('api' , 'Core_ApiVersionOneController');
12-
1310
// Secure routes
1411
/********************************************************************
1512
* General
@@ -18,37 +15,9 @@
1815
{
1916
Route::controller('user' , 'Core_UserController');
2017
Route::controller('messages', 'Core_MessageController');
21-
Route::controller('chat' , 'Core_ChatController');
2218
Route::controller('github' , 'Core_GithubController');
2319
});
2420

25-
/********************************************************************
26-
* Access to forum moderation
27-
*******************************************************************/
28-
Route::group(array('before' => 'auth|permission:FORUM_MOD'), function()
29-
{
30-
Route::controller('forum/moderation', 'Core_Forum_ModerationController');
31-
});
32-
33-
/********************************************************************
34-
* Access to forum administration
35-
*******************************************************************/
36-
Route::group(array('before' => 'auth|permission:FORUM_ADMIN'), function()
37-
{
38-
Route::controller('forum/admin', 'Core_Forum_AdminController');
39-
});
40-
41-
/********************************************************************
42-
* Access to the forums
43-
*******************************************************************/
44-
Route::group(array('before' => 'auth|permission:FORUM_ACCESS'), function()
45-
{
46-
Route::controller('forum/post' , 'Core_Forum_PostController');
47-
Route::controller('forum/board' , 'Core_Forum_BoardController');
48-
Route::controller('forum/category' , 'Core_Forum_CategoryController');
49-
Route::controller('forum' , 'Core_ForumController');
50-
});
51-
5221
/********************************************************************
5322
* Access to the dev panel
5423
*******************************************************************/

0 commit comments

Comments
 (0)