Tweaked some styles and started automated testing. Fixes #11.

This commit is contained in:
Dan Brown
2015-09-02 18:26:33 +01:00
parent 30d2edddda
commit 713827f941
23 changed files with 254 additions and 55 deletions

View File

@ -65,7 +65,7 @@ class ChapterController extends Controller
$chapter->updated_by = Auth::user()->id;
$book->chapters()->save($chapter);
Activity::add($chapter, 'chapter_create', $book->id);
return redirect($book->getUrl());
return redirect($chapter->getUrl());
}
/**