FIX: fix saving content pages - typo in save method

This commit is contained in:
Michal Kváček
2016-07-26 14:39:48 +02:00
parent be4a136476
commit bef37a5cce
@@ -88,7 +88,7 @@ class CreateNewContent extends Controller
// setup basic info
$page->user_id = \Auth::user()->id;
$page->language = LaravelLocalization::getLocale();
$page->language = LaravelLocalization::getCurrentLocale();
$page->title = $request->title;
$page->url = Str::slug($request->url);
$page->published_from = $request->publishedFrom;