Monday, October 7, 2013

Re: [Rails] Get current url

hi friends

first thanks for your immediate reply.

i am using omnicontacts for import friends concepts. so i created google api key that redirect uri is

http://example.com/contacts/gmail/callback

if i enter http://example.com that time i got correct reply

if i enter http://www.example.com that time i got redirect uri is miss match(google error)

so i create two api keys one for http://example.com another one for http://www.example.com.

if i get current url in omnicontacts.rb i will give a correct rediect path using in conditional statment.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADKeJyQX2QRFn%3DtZsNWK3dxNxa1Q0ohy8UCu%3DqDkUfh%3DXW%3Dghg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate