Sha256: c9f72e3ec239d7639e7ae7c8150dee164fccc01ece66bdf33470f1e4e5c99fa8

Contents?: true

Size: 256 Bytes

Versions: 3

Compression:

Stored size: 256 Bytes

Contents

module Workarea
  module Admin
    module ReviewsHelper
      def reviewer_info(model)
        return model.user_info unless model.user_id.present?

        link_to model.user_info,
                edit_user_path(model.user_id)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-reviews-3.0.10 app/helpers/workarea/admin/reviews_helper.rb
workarea-reviews-3.0.9 app/helpers/workarea/admin/reviews_helper.rb
workarea-reviews-3.0.8 app/helpers/workarea/admin/reviews_helper.rb