Sha256: 8622742f96785f06e47c040610bc4496f44604e7ad4867ce9ee39161a3c4a3b1

Contents?: true

Size: 199 Bytes

Versions: 15

Compression:

Stored size: 199 Bytes

Contents

module KitDataHelper

  def calendar_entry(id)
    entry = CalendarEntry.find_sys_id(_sid, id)
    entry = nil if entry.approved_at == nil && !can?(:moderate, :calendar)

    return entry
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kit_cms-2.3.22 app/helpers/kit_data_helper.rb
kit_cms-2.3.20 app/helpers/kit_data_helper.rb
kit_cms-2.3.19 app/helpers/kit_data_helper.rb
kit_cms-2.3.18 app/helpers/kit_data_helper.rb
kit_cms-2.3.17 app/helpers/kit_data_helper.rb
kit_cms-2.3.16 app/helpers/kit_data_helper.rb
kit_cms-2.3.15 app/helpers/kit_data_helper.rb
kit_cms-2.3.14 app/helpers/kit_data_helper.rb
kit_cms-2.3.13 app/helpers/kit_data_helper.rb
kit_cms-2.3.11 app/helpers/kit_data_helper.rb
kit_cms-2.3.10 app/helpers/kit_data_helper.rb
kit_cms-2.3.9 app/helpers/kit_data_helper.rb
kit_cms-2.3.8 app/helpers/kit_data_helper.rb
kit_cms-2.3.7 app/helpers/kit_data_helper.rb
kit_cms-2.3.6 app/helpers/kit_data_helper.rb