Sha256: ac2b4564aec2cf468c40f4b8556af1fc11123ef99931c80a5fce98c95b5a5ef8
Contents?: true
Size: 242 Bytes
Versions: 150
Compression:
Stored size: 242 Bytes
Contents
class Ishapi::My::VideosController < Ishapi::ApplicationController def index authorize! :my_index, Video @videos = @current_user.profile.videos.unscoped.where( is_trash: false ).order_by( created_at: :desc ).limit(20) end end
Version data entries
150 entries across 150 versions & 1 rubygems