Sha256: 7b966c9c2b7ec38619bc9874d0cf1f02b61af6c62c398f5fdfe2bfc1c63c19ac

Contents?: true

Size: 162 Bytes

Versions: 37

Compression:

Stored size: 162 Bytes

Contents

class VideosController < ApplicationController

  def index
    @videos = Video.most_recent.all
  end

  def show
    @video = Video.find(params[:id])
  end

end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
mix-rails-0.26.3 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.26.3 app/controllers/videos_controller.rb
mix-rails-0.26.2 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.26.2 app/controllers/videos_controller.rb
mix-rails-0.26.1 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.26.1 app/controllers/videos_controller.rb
mix-rails-0.26.0 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.26.0 app/controllers/videos_controller.rb
mix-rails-0.25.1 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.25.1 app/controllers/videos_controller.rb
mix-rails-0.25.0 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.25.0 app/controllers/videos_controller.rb
mix-rails-0.24.1 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.24.1 app/controllers/videos_controller.rb
mix-rails-0.24.0 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.24.0 app/controllers/videos_controller.rb
mix-rails-0.23.1 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.23.1 app/controllers/videos_controller.rb
mix-rails-0.23.0 mix-rails-videos/app/controllers/videos_controller.rb
mix-rails-videos-0.23.0 app/controllers/videos_controller.rb