Sha256: f589016c56cd8671f012db450dceaa6abae679f7133b331a9cdf58413c32b59a
Contents?: true
Size: 289 Bytes
Versions: 151
Compression:
Stored size: 289 Bytes
Contents
class Ishapi::My::GalleriesController < Ishapi::ApplicationController def index authorize! :my_index, Gallery @galleries = @current_user.profile.galleries.unscoped.where( is_trash: false ).order_by( created_at: :desc ).limit(20) render 'ishapi/galleries/index' end end
Version data entries
151 entries across 151 versions & 1 rubygems