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