# User profiles and screenshot upload management class MyController < ApplicationController before_action :authenticate_user! # def profile # end def uploads # @current_users_screenshots gets filled in ApplicationController # # Get packages that the uploaded screenshots belong to. @packages = Package.joins(:screenshots).where( 'screenshots.id' => @current_users_screenshots) end # def welcome # end end