Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not replacing default values #34

Open
robertnicjoo opened this issue Jan 8, 2021 · 0 comments
Open

Not replacing default values #34

robertnicjoo opened this issue Jan 8, 2021 · 0 comments

Comments

@robertnicjoo
Copy link

Describe the bug
I've set default values to config file based on documentation but they never get updated on my routes.

To Reproduce

Expected behavior

Getting my dynamic data meta

Screenshots

012

Desktop (please complete the following information):

  • OS: Win
  • Browser Opera
  • Version 10

Smartphone (please complete the following information):

  • Device: -
  • OS: -
  • Browser -
  • Version -

Additional context

my controller

use Butschster\Head\Facades\Meta;

///

$post = Post::where('slug', $slug)->where('online', true)->with(['user', 'user.posts', 'likes', 'categories'])->first();
if($post){
  views($post)->record();
  Meta::setTitle('Laravel')
   ->prependTitle($post->name)
   ->setKeywords(['a', 'b', 'c'])
   ->setDescription($post->body);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant