This may or may not be the right place to do this. I have been learning how to program for about 2 months now. Prior to 2 months ago I didn't know anything. So that you know where I am at I feel comfortable with JS/ruby, ajax, sinatra, and building a full CRUD application. I've mainly used bootstrap for front end. I feel that I understand the process of oauth from (client_id, client_secret, callback, tokens, etc). I was wondering if someone could give me a breakdown of what is happening here in this code. From the view, controller (routes), and the before helper method.
This may or may not be the right place to do this. I have been learning how to program for about 2 months now. Prior to 2 months ago I didn't know anything. So that you know where I am at I feel comfortable with JS/ruby, ajax, sinatra, and building a full CRUD application. I've mainly used bootstrap for front end. I feel that I understand the process of oauth from (client_id, client_secret, callback, tokens, etc). I was wondering if someone could give me a breakdown of what is happening here in this code. From the view, controller (routes), and the before helper method.