[Catalyst] All actions marked as Private and are being ignored
abhishek jain
abhishek.netjain at gmail.com
Mon Apr 2 09:43:14 GMT 2012
Hi Kieren,
I just found if in auto action I add
1;
Add end of code, the code works fine and the requested action is executed
If i don't return a value , the code ignores the requested action and end
action is called.
Don't know why, any suggestions,
So
sub auto : Private {
#.......
........
1;
}
Works fine
And
sub auto : Private {
...
}
Fails.
Thanks
Abhi
-----Original Message-----
From: Kieren Diment [mailto:diment at gmail.com]
Sent: 02 April 2012 11:55
To: The elegant MVC web framework
Subject: Re: [Catalyst] All actions marked as Private and are being ignored
On 02/04/2012, at 4:18 PM, abhishek jain wrote:
> Hi,
>
> I am finding a strange situation.
>
> If i restart my catalyst application,i find in debug messages, all of
> my actions are marked as Private.
>
> Also if i execute the code, then it will execute the auto and end
> functions and bypasses the called action.
>
>
>
> Ie. If i call /search . It will run auto, end and will ignore search
action.
>
>
>
> Dont know why,
>
> What info will you guys need from me to help me?
Why don't you try to write a minimal test case demonstrating your problem?
Is this with the dev server? Is it with some front end deployment?
_______________________________________________
List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst
mailing list