Class: Faalis::Dashboard::UserMessagesController

Inherits:
Dashboard::ApplicationController
  • Object
show all
Defined in:
app/controllers/faalis/dashboard/user_messages_controller.rb

Instance Method Summary collapse

Instance Method Details

#sentObject



8
9
10
11
12
13
14
15
16
17
18
19
# File 'app/controllers/faalis/dashboard/user_messages_controller.rb', line 8

def sent
  authorize model

  fetch_and_set_all
  action_buttons(index_properties)

  @_tools_buttons = index_properties.tool_buttons || {}
  @resources = @resources.where(sender: current_user)

  return if _override_views.include? :index
  render 'faalis/dashboard/resource/index'
end