#788210 by heyqule. 'API site' outdated URL format
authormoshe weitzman
Mon, 3 May 2010 13:47:32 +0000 (13:47 +0000)
committermoshe weitzman
Mon, 3 May 2010 13:47:32 +0000 (13:47 +0000)
devel.module

index acf57a1..8cab5a7 100644 (file)
@@ -676,7 +676,7 @@ function devel_doc_function_form_submit($form, &$form_state) {
   $version = $form_state['values']['version'];
   $function = $form_state['values']['function'];
   $api = variable_get('devel_api_url', 'api.drupal.org');
-  $form_state['redirect'] =   "http://$api/api/$version/function/$function";
+  $form_state['redirect'] =   "http://$api/api/function/$function/$version";
 }
 
 function devel_switch_user_form_validate($form, &$form_state) {