passing local variables from routes directly to partial