You are here

function apps_admin_paths in Apps 7

Implements hook_admin_paths().

Trick to make page refresh when app installs. @TODO clean this up

File

./apps.module, line 397
Module file for Apps

Code

function apps_admin_paths() {
  $paths = array(
    'admin/apps/*/*/enable' => FALSE,
    'admin/apps/*/*/disable' => FALSE,
  );
  return $paths;
}