I'm trying to follow along with this solution for displaying Facebook as a popup with omniauth:
Turn omniauth facebook login into a popup
However the Answer states:
And then in your callback view:
:javascript
if(window.opener) {
window.opener.location.reload(true);
window.close()
}
I have followed the railscast for simple omniauth. I'm only using facebook. I have set :display=>popup in my initializer. However, I don't have a callback view, only a session controller and a create action. How can I use a view for the callback so I can put this code in?