mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:01:18 +08:00
Fix all the errors to get our tests green on Rails 5.1.
This commit is contained in:
@ -2,7 +2,7 @@ require_dependency 'composer_messages_finder'
|
||||
|
||||
class ComposerMessagesController < ApplicationController
|
||||
|
||||
before_filter :ensure_logged_in
|
||||
before_action :ensure_logged_in
|
||||
|
||||
def index
|
||||
finder = ComposerMessagesFinder.new(current_user, params.slice(:composer_action, :topic_id, :post_id))
|
||||
|
Reference in New Issue
Block a user