File tree 4 files changed +9
-10
lines changed
design/adminhtml/default/default/template/hackathon
4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,13 @@ protected function _changeActions(Mage_Index_Block_Adminhtml_Process_Grid $grid)
57
57
),
58
58
array (
59
59
'caption ' => Mage::helper ('index ' )->__ ('Schedule Reindex ' ),
60
- 'url ' => array ('base ' => 'asyncindex /asyncindex/index ' ),
60
+ 'url ' => array ('base ' => 'adminhtml /asyncindex/index ' ),
61
61
'params ' => array ('_current ' => true , '_secure ' => false ),
62
62
'field ' => 'process '
63
63
),
64
64
array (
65
65
'caption ' => Mage::helper ('index ' )->__ ('Schedule partial index ' ),
66
- 'url ' => array ('base ' => 'asyncindex /asyncindex/schedulePartial ' ),
66
+ 'url ' => array ('base ' => 'adminhtml /asyncindex/schedulePartial ' ),
67
67
'params ' => array ('_current ' => true , '_secure ' => false ),
68
68
'field ' => 'process '
69
69
),
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- class Hackathon_AsyncIndex_AsyncindexController extends Mage_Adminhtml_Controller_Action
3
+ class Hackathon_AsyncIndex_Adminhtml_AsyncindexController extends Mage_Adminhtml_Controller_Action
4
4
{
5
5
6
6
/**
Original file line number Diff line number Diff line change 73
73
<run >
74
74
<model >hackathon_asyncindex/observer::runIndex</model >
75
75
</run >
76
-
77
76
</hackathon_asyncindex_events_cron >
78
77
</jobs >
79
78
</crontab >
80
79
<admin >
81
80
<routers >
82
- <asyncindex >
81
+ <adminhtml >
83
82
<args >
84
- <module >Hackathon_AsyncIndex</module >
85
- <frontName >asyncindex</frontName >
83
+ <modules >
84
+ <Hackathon_AsyncIndex after =" Mage_Adminhtml" >Hackathon_AsyncIndex_Adminhtml</Hackathon_AsyncIndex >
85
+ </modules >
86
86
</args >
87
- <use >admin</use >
88
- </asyncindex >
87
+ </adminhtml >
89
88
</routers >
90
89
</admin >
91
90
<default >
Original file line number Diff line number Diff line change 12
12
<td><?php echo $ code ; ?> </td>
13
13
<td><?php echo $ count ; ?> </td>
14
14
<td><form action="<?php
15
- echo $ this ->getUrl ('asyncindex /asyncindex/index ' ,
15
+ echo $ this ->getUrl ('adminhtml /asyncindex/index ' ,
16
16
array (
17
17
'_current ' => true ,
18
18
'_secure ' => false ,
You can’t perform that action at this time.
0 commit comments