Thats better to be in another method - its too much logic for the index. Also the `respond_to` below doesnt look good. If the logic is too different better move it to another controller - for example archive#index. You can extend this controller to avoid duplication of the first two rows. you will get something like `class ArchiveController < LandingController`