Skip to content

Commit

Permalink
#114 part 1. completed. Only 1 service to move, maybe suggests that t…
Browse files Browse the repository at this point in the history
…he services have not been created well?
  • Loading branch information
Exilliar committed Feb 29, 2020
1 parent 7c27e46 commit 5530745
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion frontend/src/app/admin/admin.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ import { AdminRoutingModule } from './admin-routing.module';
import { AdminPageComponent } from './containers/admin-page/admin-page.component';
import { ViewTablePageComponent } from './containers/view-table-page/view-table-page.component';

// Services
import { RolesService } from './services/roles/roles.service';

@NgModule({
declarations: [AdminPageComponent, ViewTablePageComponent],
imports: [
CommonModule,
AdminRoutingModule,
MaterialModule,
]
],
providers: [RolesService]
})
export class AdminModule { }
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Router } from '@angular/router';
import { UserService } from 'src/app/core/services/userService/user.service';
import { FilmDataService } from 'src/app/core/services/film-data/film-data.service';
import { AdminService } from 'src/app/core/services/admin/admin.service';
import { RolesService } from 'src/app/core/services/roles/roles.service';
import { RolesService } from 'src/app/admin/services/roles/roles.service';

import { User } from 'src/app/core/models/user.model';
import { Role } from 'src/app/core/models/role.model';
Expand Down

0 comments on commit 5530745

Please sign in to comment.