Sha256: 8828661f32d008cd2d414c81cb16f88af7aac8ed5104f9758393834a306bb97a

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

# frozen_string_literal: true
module Thredded
  # A view model for PrivateTopic.
  class PrivateTopicView < BaseTopicView
    def edit_path
      Thredded::UrlsHelper.edit_private_topic_path(@topic)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
thredded-0.4.0 app/view_models/thredded/private_topic_view.rb
thredded-0.3.2 app/view_models/thredded/private_topic_view.rb
thredded-0.3.1 app/view_models/thredded/private_topic_view.rb
thredded-0.3.0 app/view_models/thredded/private_topic_view.rb