edit channels_controller:add def private channel_params
edit channels_controller:add def private has_headers?