Added ability to mark or 'star' a video to keep a short list of active video projects
This commit is contained in:
@ -4,10 +4,12 @@ class StageManager
|
||||
get '/' do
|
||||
channels = Channel.reverse(:updated_at).limit(10).all()
|
||||
videos = Video.reverse(:updated_at).limit(10).all()
|
||||
active_projects = Video.where(starred: true).reverse(:updated_at).limit($conf.get('stgm.max_stars'))
|
||||
erb :index, :locals => {
|
||||
:title => 'Dashboard',
|
||||
:channels => channels,
|
||||
:videos => videos
|
||||
:videos => videos,
|
||||
:active_projects => active_projects
|
||||
}
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user