I have the following script:
Basically I want to redirect the user to the login page if he logged out of Facebook
I am using Rails 3.1 with an omniauth application.
, . , Facebook - - Facebook , Facebook - OAuth , . ; cookie user_id, Devise .
user_id
Facebook , .
, , OAuth , , Facebook .
- ? , ?