Missing proc

This commit is contained in:
Karel Picman 2018-04-10 13:37:15 +02:00
parent f28dd44568
commit 9330cb1baa

View File

@ -87,7 +87,7 @@ class DmsfFolder < ActiveRecord::Base
:project_key => 'project_id',
:date_column => 'updated_at',
:permission => :view_dmsf_files,
:scope => DmsfFolder.visible
:scope => Proc.new { DmsfFolder.visible }
acts_as_event :title => Proc.new {|o| o.title},
:description => Proc.new {|o| o.description },