would need to check all the controllers to see which are defining `@group` and `@discussion`

or ... include a line earlier on like

```ruby
if @discussion.present? && !@group.present?
   @group = @discussion.group
end
```