From 79d4c9f83499f0d844ad7682f4ad1db24bf110a7 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 6 Aug 2018 18:47:13 +0200 Subject: [PATCH] Fixed bogus indentation --- app/controllers/packages_controller.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/controllers/packages_controller.rb b/app/controllers/packages_controller.rb index e399606..dc59d50 100644 --- a/app/controllers/packages_controller.rb +++ b/app/controllers/packages_controller.rb @@ -284,13 +284,13 @@ class PackagesController < ApplicationController end case params[:show] - when 'with' - packages = packages.with_screenshots - logger.debug 'Limiting packages to those with screenshots' - when 'without' - packages = packages.without_screenshots - logger.debug 'Limiting packages to those without screenshots' - end + when 'with' + packages = packages.with_screenshots + logger.debug 'Limiting packages to those with screenshots' + when 'without' + packages = packages.without_screenshots + logger.debug 'Limiting packages to those without screenshots' + end return packages end