We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a29fcd commit 86ccbe1Copy full SHA for 86ccbe1
src/Controller.php
@@ -47,7 +47,7 @@ public function getIndex($group = null)
47
->with('group', $group)
48
->with('numTranslations', $numTranslations)
49
->with('numChanged', $numChanged)
50
- ->with('editUrl', action('\Barryvdh\TranslationManager\Controller@postEdit', [$group]))
+ ->with('editUrl', $group ? action('\Barryvdh\TranslationManager\Controller@postEdit', [$group]) : null)
51
->with('deleteEnabled', $this->manager->getConfig('delete_enabled'));
52
}
53
0 commit comments