Don't show scores in production

This commit is contained in:
Nelson Jovel 2022-05-30 18:47:19 -07:00
parent 143e0237e4
commit f68e8a8c2b
2 changed files with 7 additions and 5 deletions

View file

@ -1,7 +1,7 @@
class AnalyzeController < SqmApplicationController
def index
@category ||= Category.find_by_category_id(params[:category])
@category ||= Category.first
@category ||= Category.order(:category_id).first
@categories = Category.all.order(:category_id)
@subcategories = @category.subcategories.order(:subcategory_id)