Skip to content

Commit

Permalink
Merge pull request #24 from Silarn/master
Browse files Browse the repository at this point in the history
Fix for Magento 1.9.2.2 / SUPEE-6788
  • Loading branch information
Flyingmana committed Jan 27, 2016
2 parents 65f60b8 + 9bed130 commit 27205e9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/code/community/Hackathon/AsyncIndex/Model/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ protected function _changeActions(Mage_Index_Block_Adminhtml_Process_Grid $grid)
),
array(
'caption' => Mage::helper('index')->__('Schedule Reindex'),
'url' => array('base' => 'asyncindex/asyncindex/index'),
'url' => array('base' => 'adminhtml/asyncindex/index'),
'params' => array('_current' => true, '_secure' => false),
'field' => 'process'
),
array(
'caption' => Mage::helper('index')->__('Schedule partial index'),
'url' => array('base' => 'asyncindex/asyncindex/schedulePartial'),
'url' => array('base' => 'adminhtml/asyncindex/schedulePartial'),
'params' => array('_current' => true, '_secure' => false),
'field' => 'process'
),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

class Hackathon_AsyncIndex_AsyncindexController extends Mage_Adminhtml_Controller_Action
class Hackathon_AsyncIndex_Adminhtml_AsyncindexController extends Mage_Adminhtml_Controller_Action
{

/**
Expand Down
11 changes: 5 additions & 6 deletions app/code/community/Hackathon/AsyncIndex/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,18 @@
<run>
<model>hackathon_asyncindex/observer::runIndex</model>
</run>

</hackathon_asyncindex_events_cron>
</jobs>
</crontab>
<admin>
<routers>
<asyncindex>
<adminhtml>
<args>
<module>Hackathon_AsyncIndex</module>
<frontName>asyncindex</frontName>
<modules>
<Hackathon_AsyncIndex after="Mage_Adminhtml">Hackathon_AsyncIndex_Adminhtml</Hackathon_AsyncIndex>
</modules>
</args>
<use>admin</use>
</asyncindex>
</adminhtml>
</routers>
</admin>
<default>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<td><?php echo $code; ?></td>
<td><?php echo $count; ?></td>
<td><form action="<?php
echo $this->getUrl('asyncindex/asyncindex/index',
echo $this->getUrl('adminhtml/asyncindex/index',
array(
'_current' => true,
'_secure' => false,
Expand Down

0 comments on commit 27205e9

Please sign in to comment.