Use build_with_params in detail action as well