Esempio n. 1
0
 /**
  * Instantiate the controller.
  *
  * @param  \Arcanesoft\Blog\Models\Tag  $tag
  */
 public function __construct(Tag $tag)
 {
     parent::__construct();
     $this->tag = $tag;
     $this->setCurrentPage('blog-tags');
     $this->addBreadcrumbRoute('Tags', 'blog::foundation.tags.index');
 }
Esempio n. 2
0
 /**
  * Instantiate the controller.
  *
  * @param  \Arcanesoft\Blog\Models\Category  $category
  */
 public function __construct(Category $category)
 {
     parent::__construct();
     $this->category = $category;
     $this->setCurrentPage('blog-categories');
     $this->addBreadcrumbRoute('Categories', 'blog::foundation.categories.index');
 }
Esempio n. 3
0
 /**
  * Instantiate the controller.
  *
  * @param Post $post
  */
 public function __construct(Post $post)
 {
     parent::__construct();
     $this->post = $post;
     $this->setCurrentPage('blog-posts');
     $this->addBreadcrumbRoute('Posts', 'blog::foundation.posts.index');
 }
Esempio n. 4
0
 /**
  * Instantiate the controller.
  */
 public function __construct()
 {
     parent::__construct();
     $this->setCurrentPage('blog-dashboard');
 }