Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmSmhMACgkQ7bkAtAithuuNRACdEEiay9LvX25mTykBF+n33T1M
FM8AoK1QngZDKc7uweCPvuw2BHIkPcV4
=9L0f
-----END PGP SIGNATURE-----
Hey Jason,
Jason DeBord wrote:
> I am using all default ZF settings.
>
> Do all Controller classes require an indexAction() method to display a
> page at
>
> www.yourwebsite.com/controller <http://www.yourwebsite.com/controller> ?
They don't *need* an indexAction(), but if you don't have one you will
get an error or 404 when you navigate to /controller/.
>
> Is it wise to include an indexAction() method in every controller class
> that ultimately displays a webpage?
My indexAction is often simply a forward() or redirect() to the default
action in the controller.
> Thanks!
>
> Jason DEBORD
> Limoges, France
--
Brenton Alker
没有评论:
发表评论