videos_controller.rb 296 Bytes
class VLibras::VideosController < InheritedResources::Base
  actions :show, :destroy

  before_filter :check_vlibras_api_status, :only => [ :index, :show ]
  before_filter :authenticate_user!

  def index
    @videos = current_user.videos
    @requests = current_user.requests.limit(6)
  end
end