Fix for non c.uri_for()'d link
[catagits/Gitalist.git] / root / wrapper.tt2
index 3cef238..a44a2e4 100755 (executable)
                                                action_output = action.key FILTER ucfirst;
                                                NEXT IF action_output == action_name_ucfirst;   
                                                action = action.key;
-                                               '<li><a href="/' _ c.req.path.replace(action_name, action) _ '">' _ action_output _ '</a></li>';
+                                               '<li><a href="' _ c.uri_for("/")  _ c.req.path.replace(action_name, action) _ '">' _ action_output _ '</a></li>';
                                        END;                    
                                '</ul>';
                                END;