File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import 'package:ht_dashboard/dashboard/view/dashboard_page.dart';
2020import 'package:ht_dashboard/router/routes.dart' ;
2121import 'package:ht_dashboard/settings/view/settings_page.dart' ;
2222import 'package:ht_dashboard/shared/widgets/placeholder_create_page.dart' ;
23+ import 'package:ht_dashboard/content_management/view/edit_headline_page.dart' ;
2324
2425/// Creates and configures the GoRouter instance for the application.
2526///
@@ -176,9 +177,7 @@ GoRouter createRouter({
176177 name: Routes .editHeadlineName,
177178 builder: (context, state) {
178179 final id = state.pathParameters['id' ]! ;
179- return PlaceholderCreatePage (
180- title: 'Edit Headline $id ' ,
181- ); // Placeholder
180+ return EditHeadlinePage (headlineId: id);
182181 },
183182 ),
184183 GoRoute (
You can’t perform that action at this time.
0 commit comments