Jump to content

Need help with stuff

Studious Damon

Recommended Posts


According to this I need to use :nickname to return the nickname of the person logged in.


However that doesn't work.


Before logging in

XM9hrKm.pngAfter clicking the button

VqPIKo4.pngAfter signed in

hZvPNZ5.png<% if session.key? :current_user %>

<h3>Current user:</h3>

<%= image_tag session[:current_user][:image] %>

<p><%= session[:current_user][:nickname] %></p>

<p><%= session[:current_user][:uid] %></p>

<% end %>

<%= link_to image_tag("http://cdn.steamcommunity.com/public/images/signinthroughsteam/sits_large_noborder.png"),'/auth/steam' %>





I'm on Ruby on rails

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...