Skip to content

Commit

Permalink
Fixed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoRB committed Nov 14, 2023
1 parent fd134b0 commit e2e2238
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sense to move them into a feature module. A feature module simply organizes code
keeping code organized and establishing clear boundaries. This helps us manage complexity and develop with SOLID
principles, especially as the size of the application and/or team grow.

To demonstrate this, we'll create the `CitiesModule`.
To demonstrate this, we'll create the `CityModule`.

```dart
Expand All @@ -46,7 +46,7 @@ const cityModule = Module(
);
```

Above, we defined the `CitiesModule` in the `cities_module.dart` file, and moved everything related to this module into
Above, we defined the `CityModule` in the `cities_module.dart` file, and moved everything related to this module into
the cities' directory. The last thing we need to do is import this module into the root module (the AppModule, defined
in the `app.dart` file).

Expand Down
2 changes: 1 addition & 1 deletion packages/dartness_generator/doc/api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h2 id="generating-code">Generating code</h2>
part 'city_controller.g.dart';

@Controller('/cities')
class CitiesController {
class CityController {
@Get()
String getCities() {
return 'This action returns a list of cities';
Expand Down

0 comments on commit e2e2238

Please sign in to comment.