## profile_controller.rb
before_filter :get_user

protected

def get_user
@user = User.find(params[:user])
end

##view

<% if @user = current_user %>
show the user some shit
<% else %>
don't show the user any shit
<% end %>

#using restful_authentication and this doesn't work, what am I doing incorrectly?