Skip to content

Commit

Permalink
fixed test error bug
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Dec 18, 2024
1 parent 76c0f2e commit 01c1438
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/Models/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,7 @@ public function avatar(){
}


public function hasRole(){
return false;
}
}
2 changes: 2 additions & 0 deletions resources/views/website/rss/post.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@cache('sitemap_attach'. cacheNumber(), 3600)
<rss version="2.0">
<channel>
<title>{{config('app.name')}}</title>
Expand All @@ -17,3 +18,4 @@
@endforeach
</channel>
</rss>
@endcache
2 changes: 2 additions & 0 deletions resources/views/website/rss/product.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@cache('sitemap_attach'. cacheNumber(), 3600)
<rss version="2.0">
<channel>
<title>{{config('app.name')}}</title>
Expand All @@ -17,3 +18,4 @@
@endforeach
</channel>
</rss>
@endcache

0 comments on commit 01c1438

Please sign in to comment.