Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Analyst task
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
suvorova-ma
Analyst task
Commits
45e627f5
Commit
45e627f5
authored
2 years ago
by
Shizuco
Browse files
Options
Downloads
Patches
Plain Diff
feat: for now main page is products page in nova
parent
f2da5b71
No related branches found
No related tags found
1 merge request
!2
Dctn 494/fix
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/Nova/Dashboards/Main.php
+0
-21
0 additions, 21 deletions
app/Nova/Dashboards/Main.php
app/Providers/NovaServiceProvider.php
+1
-1
1 addition, 1 deletion
app/Providers/NovaServiceProvider.php
routes/web.php
+1
-1
1 addition, 1 deletion
routes/web.php
with
2 additions
and
23 deletions
app/Nova/Dashboards/Main.php
deleted
100644 → 0
+
0
−
21
View file @
f2da5b71
<?php
namespace
App\Nova\Dashboards
;
use
Laravel\Nova\Cards\Help
;
use
Laravel\Nova\Dashboards\Main
as
Dashboard
;
class
Main
extends
Dashboard
{
/**
* Get the cards for the dashboard.
*
* @return array
*/
public
function
cards
()
{
return
[
new
Help
,
];
}
}
This diff is collapsed.
Click to expand it.
app/Providers/NovaServiceProvider.php
+
1
−
1
View file @
45e627f5
...
...
@@ -55,7 +55,7 @@ protected function gate()
protected
function
dashboards
()
{
return
[
new
\App\Nova\Dashboards\Main
,
];
}
...
...
This diff is collapsed.
Click to expand it.
routes/web.php
+
1
−
1
View file @
45e627f5
...
...
@@ -14,5 +14,5 @@
*/
Route
::
get
(
'/'
,
function
()
{
return
view
(
'welcome
'
);
return
redirect
(
'/nova/resources/products
'
);
});
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment