Skip to content

Commit

Permalink
Merge pull request #18 from Laralum/analysis-zexB99
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
24aitor authored Aug 20, 2017
2 parents de694b1 + 06ba0e1 commit 22c7698
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/Controllers/PostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use Laralum\Blog\Models\Category;
use Laralum\Blog\Models\Post;
use Laralum\Blog\Models\Settings;
use Laralum\Users\Models\User;
use Laralum\Files\Models\File;
use Laralum\Users\Models\User;

class PostController extends Controller
{
Expand All @@ -31,7 +31,7 @@ public function create()

return view('laralum_blog::laralum.posts.create', [
'categories' => Category::all(),
'files' => $filtered->all()
'files' => $filtered->all(),
]);
}

Expand Down Expand Up @@ -108,9 +108,9 @@ public function edit(Post $post)
});

return view('laralum_blog::laralum.posts.edit', [
'post' => $post,
'post' => $post,
'categories' => Category::all(),
'files' => $filtered->all()
'files' => $filtered->all(),
]);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Translations/ru/general.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
'create_post' => 'Создать запись',
'create_post_desc' => 'Создать новое сообщение в базе данных',
'edit_post_desc' => 'Вы редактируете запись #:id Создано :time_ago',
'choose_image' => "Выберите изображение из файла Laralum Files...",
'choose_image' => 'Выберите изображение из файла Laralum Files...',
'image_url' => 'URL изображения',
'image_url_ph' => 'Вставьте URL изображения, чтобы представить запись',
'written_by' => 'Написано :username :time_ago. Опубликовано в :cat категории.',
Expand Down

0 comments on commit 22c7698

Please sign in to comment.