Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The module don't work propertly #5

Open
IgorDePaula opened this issue Aug 20, 2013 · 0 comments
Open

The module don't work propertly #5

IgorDePaula opened this issue Aug 20, 2013 · 0 comments

Comments

@IgorDePaula
Copy link

namespace Application\Controller;
I have the code below, and i received a 404 error...

use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use SpiffyRoutes\Annotation as Route;
class IndexController extends AbstractActionController
{
public function indexAction()
{
return new ViewModel();
}

/**
* @route\Literal("/second",name="second")
*/
public function secondAction()
{
return new ViewModel();
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant