Skip to content

Commit

Permalink
namespace bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhlystov committed Mar 22, 2017
1 parent 06ed84d commit 124c8fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lightbox/controllers/TouchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TouchController extends Controller
/**
* @var string Use custom layout.
*/
public $layout = '@dkhlystov/lightbox/views/layout';
public $layout = 'layout';

/**
* Render lightbox for mobile
Expand All @@ -35,7 +35,7 @@ public function actionImage()
//ckicked index
$touch = array_search($request->post('touch'), $src);

return $this->render('@dkhlystov/lightbox/views/lightbox', [
return $this->render('lightbox', [
'src' => $src,
'touch' => (integer) $touch,
]);
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 124c8fb

Please sign in to comment.