little refactor in streams_controller
This commit is contained in:
parent
2eba28266b
commit
a3162d76dd
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ class StreamsController < ApplicationController
|
|||
:json
|
||||
|
||||
def aspects
|
||||
aspect_ids = (session[:a_ids] ? session[:a_ids] : [])
|
||||
aspect_ids = (session[:a_ids] || [])
|
||||
@stream = Stream::Aspect.new(current_user, aspect_ids,
|
||||
:max_time => max_time)
|
||||
stream_responder
|
||||
|
|
|
|||
Loading…
Reference in a new issue