Coming from php, not sure why the symbol below is used on the right hand side of to.
get '/posts/new', to: 'posts#new'
Is this a hash which to is the key and whats in the quotes are the key?
Been looking at Rails tutorials and never seen a hash in this kind of form so I was wondering...