This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!

index.rb

By: saasbook on Jan 10th, 2012  |  syntax: Ruby  |  size: 0.09 KB  |  views: 1,370  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # This file is app/controllers/movies_controller.rb
  2. def index
  3.   @movies = Movie.all
  4. end
clone this paste RAW Paste Data