Example of a controller method with a path variable