Sha256: 6b7ecda012bb14a27d74b62065f168f278ba24f1834601da3cd44d9ac952b00c

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

class ::IshManager::EmailConversationsController < IshManager::ApplicationController

  def index
    authorize! :email_conversations_index, IshManager::Ability
    @email_conversations = ::Office::EmailConversation.all.order_by( latest_date: :desc )

  end

  def show
    authorize! :email_conversations_show, IshManager::Ability
    @email_conversation = ::Office::EmailConversation.find( params[:id] )
    @email_messages = @email_conversation.email_messages.order_by( date: :desc )
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_manager-0.1.8.355 app/controllers/ish_manager/email_conversations_controller.rb