daily pastebin goal
20%
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
Top