mirror of
https://github.com/wahyd4/ocelots.git
synced 2026-08-09 04:56:21 +10:00
7 lines
223 B
Ruby
7 lines
223 B
Ruby
class ProfilesController < ApplicationController
|
|
def show
|
|
@person = Person.find_by_account params[:account]
|
|
@person = nil unless current_person.allowed_to_view? @person
|
|
render :unknown unless @person
|
|
end
|
|
end |