Sha256: 946eb3cdda36c59be603a455123cbdd114f5f1220b647547fd43a40ccefc8cf1
Contents?: true
Size: 282 Bytes
Versions: 40
Compression:
Stored size: 282 Bytes
Contents
module Virgo class UsersController < ApplicationController before_filter :set_user, only: member_actions def show @posts = @user.posts.latest.page(params[:page]) end private def set_user @user = User.friendly.find(params[:id]) end end end
Version data entries
40 entries across 40 versions & 1 rubygems