Skip to content
Snippets Groups Projects

(feat): Minds Pro

Merged Emiliano Balbuena requested to merge epic/minds-pro into master
1 file
+ 38
1
Compare changes
  • Side-by-side
  • Inline
@@ -23,6 +23,12 @@ import { ProUnsubscribeModalComponent } from './channel/unsubscribe-modal/modal.
import { ProCategoriesComponent } from './channel/categories/categories.component';
import { BlogView } from '../blogs/view/view';
import { MediaModalComponent } from '../media/modal/modal.component';
import { NewsfeedSingleComponent } from "../newsfeed/single/single.component";
import { MediaViewComponent } from "../media/view/view.component";
import { MediaEditComponent } from "../media/edit/edit.component";
import { BlogViewInfinite } from "../blogs/view/infinite";
import { BlogEdit } from "../blogs/edit/edit";
import { CanDeactivateGuardService } from "../../services/can-deactivate-guard";
const routes: Routes = [
{
@@ -77,6 +83,36 @@ export const STANDALONE_ROUTES = [
},
],
},
{
path: 'newsfeed/:guid',
component: NewsfeedSingleComponent,
},
{
path: 'media/:guid',
component: MediaViewComponent,
},
{
path: 'media/edit/:guid',
component: MediaEditComponent
},
{
path: 'blog/view/:guid/:title',
component: BlogViewInfinite
},
{
path: 'blog/view/:guid',
component: BlogViewInfinite
},
{
path: 'blog/edit/:guid',
component: BlogEdit,
canDeactivate: [CanDeactivateGuardService],
},
{
path: 'blog/:slugid',
component: BlogViewInfinite
},
];
@NgModule({
@@ -114,4 +150,5 @@ export const STANDALONE_ROUTES = [
BlogView,
],
})
export class ProModule {}
export class ProModule {
}
Loading