diff --git a/simplereservation.module b/simplereservation.module
index b17a910..9832f58 100644
--- a/simplereservation.module
+++ b/simplereservation.module
@@ -6,30 +6,27 @@
  */
 use Drupal\datetime\DateHelper;
 use Drupal\Core\Datetime\DrupalDateTime;
+use Symfony\Component\HttpFoundation\Request;
 
 $mypath = drupal_get_path('module', 'simplereservation');
 
 /**
  * Implements hook_help().
  */
-function simplereservation_help($path, $arg) {
-  $output = '';
-  switch ($path) {
-    case 'admin/help#simplereservation':
-      $output = '<h3>' . t('About') . '</h3>';
+function simplereservation_help($route_name, Request $request) {
+  switch ($route_name) {
+    case 'help.page.simplereservation':
+      $output = '';
+      $output .= '<h3>' . t('About') . '</h3>';
       $output .= '<p>' . t('The Simple Reservation module allows users to create any number of user-defined bookable items. The items may have a description and a comment.') . '</p>';
       $output .= '<h3>' . t('Uses') . '</h3>';
       $output .= '<dl>';
-      $output .= '<dt>' . t('<a href="@items_definition">Items definition</a>', array('@items_definition' => url('admin/config'))
-          ) . '</dt>';
+      $output .= '<dt>' . t('<a href="@items_definition">Items definition</a>', array('@items_definition' => url('admin/config'))) . '</dt>';
       $output .= '<dd>' . t('můžete přidávat nové a spravovat stávající položky k rezervaci. Jednotlivé je možno také dočasně zneplatnit.') . '</dd>';
-      $output .= '<dt>' . t('<a href="@reservation">Reservation</a>', array('@reservation' => url('admin/config'))
-          ) . '</dt>';
+      $output .= '<dt>' . t('<a href="@reservation">Reservation</a>', array('@reservation' => url('admin/config'))) . '</dt>';
       $output .= '<dd>' . t('aktuální položky mohou uživatelé rezervovat stejně tak jako mohou prohlížet rezervace své i o statních uživatelů.') . '</dd>';
       $output .= '</dl>';
       return $output;
-
-      break;
   }
 }
 
