Commit 160bc858 authored by Kevin Yumang's avatar Kevin Yumang

SERV-2286 - minor refactor

parent 268a238c
...@@ -48,11 +48,11 @@ ...@@ -48,11 +48,11 @@
*/ */
public function internalNavigation($parameters) public function internalNavigation($parameters)
{ {
if(isset($_GET['page'])) {
$page = $_GET['page']; $page = $_GET['page'];
$path = ''; $path = '';
if(isset($page)) {
switch ($page) { switch ($page) {
case "card": case "card":
$path = 'Limitless::Element.Card.Documentation.Index'; $path = 'Limitless::Element.Card.Documentation.Index';
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
@Limitless::ElementCardStop @Limitless::ElementCardStop
@Limitless::ElementCardStart(['title' => "Codemirror Test", 'icon' => 'icon-file-empty' ] ) @Limitless::ElementCardStart(['title' => "Codemirror Test", 'icon' => 'icon-file-empty' ] )
{{-- @Limitless::Codemirror([ 'language' => 'javascript', 'theme' => 'zenburn', 'value' => 'Hello World!' ]) --}} @Limitless::Codemirror([ 'language' => 'javascript', 'theme' => 'zenburn', 'value' => 'Hello World!' ])
@Limitless::ElementCardStop @Limitless::ElementCardStop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment