Sha256: 8c0ab45e4e533d356c02dca2ae57d2ab410f7f4cfade14ad1bc57aa7a9ffbdec

Contents?: true

Size: 714 Bytes

Versions: 62

Compression:

Stored size: 714 Bytes

Contents

module Workarea
  module Search
    class Admin
      class Navigation < Search::Admin
        def keywords
          []
        end

        def id
          model.first
        end

        def type
          'Admin Pages'
        end

        def name
          model.first
        end

        def search_text
          model.first
        end

        def jump_to_text
          model.first
        end

        def jump_to_route_helper
          model.last
        end

        def jump_to_param
        end

        def jump_to_position
          0
        end

        def created_at
          Time.current
        end

        def updated_at
          Time.current
        end
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.13 app/models/workarea/search/admin/navigation.rb
workarea-core-3.4.12 app/models/workarea/search/admin/navigation.rb