Pass $c along to path_prefix in _parse_PathPrefix_attr.
authorFlorian Ragwitz <rafl@debian.org>
Sun, 28 Jun 2009 14:58:16 +0000 (14:58 +0000)
committerFlorian Ragwitz <rafl@debian.org>
Sun, 28 Jun 2009 14:58:16 +0000 (14:58 +0000)
commit028255514f179a452404752e5700d35c5edb3860
treee8acd7e1255605702fa88db0786a6829df8c3608
parentea571bd0b0af864834d0dc4554f27090bfd836b3
Pass $c along to path_prefix in _parse_PathPrefix_attr.

This prevents things from blowing up if the controller instance doesn't know
about its action namespace already, when the attribute value is being parsed.

Closes RT#42816. Courtesy of Jason Kohles.
lib/Catalyst/Controller.pm