From fdc17bea58f210f62ac0d9e836b68e84c6dbd15c Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 15 Nov 2016 16:56:29 +0100 Subject: Fix rubocop issues, introduce usage of frozen literal to improve performance --- app/channels/hashtag_channel.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/channels/hashtag_channel.rb') diff --git a/app/channels/hashtag_channel.rb b/app/channels/hashtag_channel.rb index 5be8d94cd..4470a0e99 100644 --- a/app/channels/hashtag_channel.rb +++ b/app/channels/hashtag_channel.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class HashtagChannel < ApplicationCable::Channel def subscribed tag = params[:tag].downcase -- cgit