This commit is contained in:
thosakwe 2017-03-05 21:06:52 -05:00
parent 4e51d87b61
commit 4ad9e06269
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# angel_framework
[![pub 1.0.0-dev.65](https://img.shields.io/badge/pub-1.0.0--dev.65-red.svg)](https://pub.dartlang.org/packages/angel_framework)
[![pub 1.0.0-dev.66](https://img.shields.io/badge/pub-1.0.0--dev.66-red.svg)](https://pub.dartlang.org/packages/angel_framework)
[![build status](https://travis-ci.org/angel-dart/framework.svg)](https://travis-ci.org/angel-dart/framework)
Core libraries for the Angel Framework.

View file

@ -150,7 +150,7 @@ class Angel extends AngelBase {
/// Shortcut for adding a middleware to inject a serialize on every request.
void injectSerializer(ResponseSerializer serializer) {
before.add((RequestContext req, ResponseContext res) async {
res.serializer = serialize;
res.serializer = serializer;
return true;
});
}

View file

@ -1,5 +1,5 @@
name: angel_framework
version: 1.0.0-dev.65
version: 1.0.0-dev.66
description: Core libraries for the Angel framework.
author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_framework