daily pastebin goal
66%
SHARE
TWEET

Untitled

a guest Feb 14th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class HomeController < ApplicationController
  2.   def index
  3.     @reviews = Review.all
  4.   end
  5.  
  6.   def admin_area
  7.     @reviews = Review.order(:title)
  8.     @writers = Writer.order(:name)
  9.     @genres = Genre.order(:genre_name)
  10.   end
  11. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top