Redundant condition in compute_asset_host is redundant. #1268

merged 1 commit into from May 24, 2011

2 participants


Minor tweak to compute_asset_host. We were previously checking if an object was a proc or responded to call. Since procs respond to call, only the latter check was needed.

@josevalim josevalim merged commit b865576 into rails:master May 24, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment