You just make the parameter optional, i.e
public function showArchiveMostViewedAll($time = null) { ...
(it's the "= null" part)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community