9 lines
213 B
Ruby
9 lines
213 B
Ruby
class AuthorsController < ApplicationController
|
|
before_filter :authenticate_user!
|
|
|
|
def show
|
|
@author= Author.where(:id => params[:id]).first
|
|
@author_ostatus_posts = @author.ostatus_posts
|
|
end
|
|
|
|
end
|