Merge pull request #1039 from Retrospring/bugfix/eagerly-load-services
This commit is contained in:
commit
1df6bcfd52
|
@ -18,7 +18,7 @@ class InboxController < ApplicationController
|
|||
|
||||
@delete_id = find_delete_id
|
||||
@disabled = true if @inbox.empty?
|
||||
services = current_user.services
|
||||
services = current_user.services.to_a
|
||||
|
||||
respond_to do |format|
|
||||
format.html { render "show", locals: { services: } }
|
||||
|
|
Loading…
Reference in New Issue