Guest User

Untitled

a guest
Jun 18th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. # ORM is Mongoid.
  2.  
  3. class AuthorsController < ApplicationController
  4. def show
  5. @author = Author.where(:username => :params[:username]).first
  6. end
  7. end
Add Comment
Please, Sign In to add comment