Lowercase
This commit is contained in:
parent
301939bf39
commit
acb641d324
2 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
library angel.routes;
|
library angel.routes;
|
||||||
|
|
||||||
import 'package:angel_common/angel_common.dart';
|
import 'package:angel_common/angel_common.dart';
|
||||||
import 'controllers/controllers.dart' as Controllers;
|
import 'controllers/controllers.dart' as controllers;
|
||||||
|
|
||||||
configureBefore(Angel app) async {
|
configureBefore(Angel app) async {
|
||||||
app.before.add(cors());
|
app.before.add(cors());
|
||||||
|
@ -56,6 +56,6 @@ configureAfter(Angel app) async {
|
||||||
configureServer(Angel app) async {
|
configureServer(Angel app) async {
|
||||||
await configureBefore(app);
|
await configureBefore(app);
|
||||||
await configureRoutes(app);
|
await configureRoutes(app);
|
||||||
await app.configure(Controllers.configureServer);
|
await app.configure(controllers.configureServer);
|
||||||
await configureAfter(app);
|
await configureAfter(app);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,10 @@ library angel.services;
|
||||||
import 'package:angel_common/angel_common.dart';
|
import 'package:angel_common/angel_common.dart';
|
||||||
import 'package:mongo_dart/mongo_dart.dart';
|
import 'package:mongo_dart/mongo_dart.dart';
|
||||||
|
|
||||||
import 'user.dart' as User;
|
import 'user.dart' as user;
|
||||||
|
|
||||||
configureServer(Angel app) async {
|
configureServer(Angel app) async {
|
||||||
Db db = app.container.make(Db);
|
Db db = app.container.make(Db);
|
||||||
|
|
||||||
await app.configure(User.configureServer(db));
|
await app.configure(user.configureServer(db));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue