fix db connect
fix bookdetail bug
refactor book view
init part view
fix model
Merge branch 'develop' of https://github.com/ce-saig/LeafBox into develop
add new route
add route
Merge branch 'develop' of https://github.com/ce-saig/LeafBox into develop
add media view
prepare to merge
fix add view and add button
incompete search
fix some reletion model and few vies
add migration file
add view & route edit
fix some model
fix conflict and implement edit book
Complete search book ,but should do it with ajax