little refactor in streams_controller

This commit is contained in:
Fabián Rodríguez 2012-11-21 20:50:03 -02:00
parent 2eba28266b
commit a3162d76dd

View file

@ -21,7 +21,7 @@ class StreamsController < ApplicationController
:json :json
def aspects def aspects
aspect_ids = (session[:a_ids] ? session[:a_ids] : []) aspect_ids = (session[:a_ids] || [])
@stream = Stream::Aspect.new(current_user, aspect_ids, @stream = Stream::Aspect.new(current_user, aspect_ids,
:max_time => max_time) :max_time => max_time)
stream_responder stream_responder