See notes in the controller on constructing the path to help controller code.  You could use a helper method to generate the path since it's so long.  It would look cleaner and also be much easier to test (and should be tested!)