M
M
max_mara2011-11-14 18:46:42
Magento
max_mara, 2011-11-14 18:46:42

Magento: backend controller redirects to dashboard

Good morning colleagues.

When i try to load action from my controller it redirects me to dashboard.

There is this controller code

<?php
class Mara_Navigation_Adminhtml_NavigationController extends Mage_Adminhtml_Controller_Action
{
    public function indexAction()
    {
        $this->loadLayout()->renderLayout();
    }
    
    public function placesAction()
    {
        die('here');
    }

}


The requested url is

magento.loc/admin/navigation/places/key/38bd6238819e39ccc25102a0b0b99779/

Index action loads without any problem.

Thank you

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Batishchev, 2011-12-16
@max_mara

serverok is correct. Added FORM_KEY to ajax request and doesn't redirect.

S
serverok, 2011-11-14
@serverok

it's not a valid key in your URL.
how do you get/generate the url to the "places" action?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question