Skip to content

Commit

Permalink
add support for multiple controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
alex7r committed Sep 9, 2018
1 parent bdc88a4 commit 6e0e005
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion admin/roadmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@

use Joomplace\X\ComponentStarter;

ComponentStarter::startup(Dispatcher::class, 'Roadmap', __DIR__ . DIRECTORY_SEPARATOR . 'migrations');
$input = \JFactory::getApplication()->input;

ComponentStarter::startup(Dispatcher::class, $input->get('view', 'Roadmap'),
__DIR__ . DIRECTORY_SEPARATOR . 'migrations');

0 comments on commit 6e0e005

Please sign in to comment.