Fix redirect url after create/update.
Add Capfile.