mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
7d9a84b496
who don't have avatars.
13 lines
314 B
Ruby
13 lines
314 B
Ruby
require_dependency 'composer_messages_finder'
|
|
|
|
class ComposerMessagesController < ApplicationController
|
|
|
|
before_filter :ensure_logged_in
|
|
|
|
def index
|
|
finder = ComposerMessagesFinder.new(current_user, params.slice(:composerAction, :topic_id, :post_id))
|
|
render_json_dump([finder.find].compact)
|
|
end
|
|
|
|
end
|
|
|