Squib rendering, part 2
路
In the `homepage_controller.rb` there is a private definition `publish_changes` that contains the pages that are rendered if the entry is newly posted or updated. The part relating to rendering archive pages is as follows. publish( “archive_page”, { :year => entry.when_published.year, :month => entry.when_published.month, :day => entry.when_published.day } ) Because it passes all three parameters to…