Skip Menu |
 

This queue is for tickets about the Catalyst-Manual CPAN distribution.

Report information
The Basics
Id: 74869
Status: resolved
Priority: 0/
Queue: Catalyst-Manual

People
Owner: Nobody in particular
Requestors: bill+bitcard [...] blunn.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 5.9002
Fixed in: (no value)



Subject: Catalyst::Manual::Intro#Action-types :Global broken doc
Download (untitled) / with headers
text/plain 531b
(Sorry about raising a new ticket. I forgot to put a subject line in the original ticket, but RT wouldn't let me go back and put one in.) https://metacpan.org/module/Catalyst::Manual::Intro#Action-types "Root-level (:Global) ... Matches http://localhost:3000/foo - that is, the action is mapped directly to the controller namespace, ignoring the function name." This description seems to be wrong. It seems like it should be: "... that is, the action is mapped directly to the method name, ignoring the controller namespace."
From: bill+bitcard [...] blunn.org
Download (untitled) / with headers
text/plain 763b
On Sat Feb 11 22:02:14 2012, ZARQUON wrote: Show quoted text
> Fixed in git f577e42d6082c6b03 > > http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits/Catalyst- > Manual.git;a=commitdiff;h=f577e42d6082c6b034295995286d248e57e290e0 > > Thanks :)
It still says Show quoted text
> Matches http://localhost:3000/foo - that is, the action is mapped > +directly to the controller namespace, ignoring the function name.
Is that not still wrong? It still says (written conceptually): {mapped directly to} : {the controller namespace} {ignores} : {function name} I think it should say {mapped directly to} : {the method name} {ignores} : {the controller namespace} i.e. that's two changes: 1. Swap the two concepts around 2. Change "function name" to "method name" Regards, Bill
Download (untitled) / with headers
text/plain 1023b
On Sun Feb 12 05:42:36 2012, hochgurgler wrote: Show quoted text
> On Sat Feb 11 22:02:14 2012, ZARQUON wrote:
> > Fixed in git f577e42d6082c6b03 > > > > http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits/Catalyst- > > Manual.git;a=commitdiff;h=f577e42d6082c6b034295995286d248e57e290e0 > > > > Thanks :)
> > It still says >
> > Matches http://localhost:3000/foo - that is, the action is mapped > > +directly to the controller namespace, ignoring the function name.
> > Is that not still wrong?
Bollocks. Yes. Show quoted text
> It still says (written conceptually): > > {mapped directly to} : {the controller namespace} > {ignores} : {function name} > > I think it should say > > {mapped directly to} : {the method name} > {ignores} : {the controller namespace} > > i.e. that's two changes: > > 1. Swap the two concepts around > > 2. Change "function name" to "method name"
rev 7010157: -directly to the controller namespace, ignoring the function name. +directly to the method name, ignoring the controller namespace. Cheers!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.