Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matefun
Frontend
Commits
4aac596a
Commit
4aac596a
authored
Mar 02, 2019
by
Diego Rey
Browse files
Fix routes with #
parent
6b3f3fea
Changes
2
Show whitespace changes
Inline
Side-by-side
Frontend Angular 4/src/app/app-routing.module.ts
View file @
4aac596a
...
@@ -13,7 +13,7 @@ const routes: Routes = [
...
@@ -13,7 +13,7 @@ const routes: Routes = [
];
];
@
NgModule
({
@
NgModule
({
imports
:
[
RouterModule
.
forRoot
(
routes
)],
imports
:
[
RouterModule
.
forRoot
(
routes
,
{
useHash
:
true
}
)],
exports
:
[
RouterModule
]
exports
:
[
RouterModule
]
})
})
export
class
AppRoutingModule
{
}
export
class
AppRoutingModule
{
}
Frontend Angular 4/src/app/layout/grupos/grupos.module.ts
View file @
4aac596a
...
@@ -10,9 +10,21 @@ import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
...
@@ -10,9 +10,21 @@ import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import
{
CodemirrorModule
}
from
'
ng2-codemirror
'
;
import
{
CodemirrorModule
}
from
'
ng2-codemirror
'
;
import
{
CalificarEntrega
}
from
'
./calificarEntrega.component
'
;
import
{
CalificarEntrega
}
from
'
./calificarEntrega.component
'
;
import
{
NotificacionModule
}
from
'
../../notificacion/notificacion.module
'
;
import
{
NotificacionModule
}
from
'
../../notificacion/notificacion.module
'
;
import
{
I18nModule
}
from
'
../../shared/modules/translate/i18n.module
'
;
import
{
TitleCaseModule
}
from
'
../../shared/modules/titlecase.module
'
;
@
NgModule
({
@
NgModule
({
imports
:
[
CommonModule
,
GruposRoutingModule
,
FormsModule
,
BootstrapModalModule
,
NgbModule
,
CodemirrorModule
,
NotificacionModule
],
imports
:
[
CommonModule
,
GruposRoutingModule
,
FormsModule
,
BootstrapModalModule
,
NgbModule
,
CodemirrorModule
,
NotificacionModule
,
I18nModule
,
TitleCaseModule
],
declarations
:
[
GruposComponent
,
CalificarEntrega
],
declarations
:
[
GruposComponent
,
CalificarEntrega
],
exports
:
[
GruposComponent
],
exports
:
[
GruposComponent
],
entryComponents
:
[
CalificarEntrega
]
entryComponents
:
[
CalificarEntrega
]
...
...
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