Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
a5e9386b
Commit
a5e9386b
authored
Oct 19, 2014
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renaming module settings route
parent
8ec0f7e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SettingController.php
Http/Controllers/Admin/SettingController.php
+1
-1
routes.php
Http/routes.php
+1
-1
No files found.
Http/Controllers/Admin/SettingController.php
View file @
a5e9386b
...
...
@@ -44,7 +44,7 @@ class SettingController extends AdminBaseController
return
Redirect
::
route
(
'dashboard.setting.index'
);
}
public
function
m
oduleSettings
(
$module
)
public
function
getM
oduleSettings
(
$module
)
{
dd
(
$module
.
' settings'
);
}
...
...
Http/routes.php
View file @
a5e9386b
...
...
@@ -3,7 +3,7 @@
$router
->
group
([
'prefix'
=>
LaravelLocalization
::
setLocale
(),
'before'
=>
'LaravelLocalizationRedirectFilter|auth.admin'
],
function
(
$router
)
{
$router
->
group
([
'prefix'
=>
Config
::
get
(
'core::core.admin-prefix'
),
'namespace'
=>
'Modules\Setting\Http\Controllers'
],
function
(
$router
)
{
$router
->
get
(
'settings/{module}'
,
[
'as'
=>
'dashboard.module.settings'
,
'uses'
=>
'Admin\SettingController@
m
oduleSettings'
]);
$router
->
get
(
'settings/{module}'
,
[
'as'
=>
'dashboard.module.settings'
,
'uses'
=>
'Admin\SettingController@
getM
oduleSettings'
]);
$router
->
resource
(
'settings'
,
'Admin\SettingController'
,
[
'except'
=>
[
'show'
,
'edit'
,
'update'
,
'destroy'
,
'create'
],
'names'
=>
[
'index'
=>
'dashboard.setting.index'
,
'store'
=>
'dashboard.setting.store'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment