Commit 4aac596a authored by Diego Rey's avatar Diego Rey
Browse files

Fix routes with #

parent 6b3f3fea
...@@ -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 { }
...@@ -9,10 +9,22 @@ import { BootstrapModalModule } from 'ng2-bootstrap-modal'; ...@@ -9,10 +9,22 @@ import { BootstrapModalModule } from 'ng2-bootstrap-modal';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; 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]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment