On 2 September 2013 12:16, Rekha Benada <[email protected]> wrote:
> My routes.rb is same as in this tutorial. Here it is

Please don't top post, it makes it difficult to follow the thread.
Insert your reply inline at appropriate points in previous message.
Thanks.

>
> LinkedinGem::Application.routes.draw do
>   devise_for :users
>
>   resources :linkedin
>
>
>   match '/linkedin_profile'

Is there something missing on the end of that line?

>   match '/linkedin_oauth_url' => 'linkedin#generate_linkedin_oauth_url'
>   match '/oauth_account' => 'linkedin#oauth_account'
>
>    root :to => "linkedin#index"

Also you seem to be missing an end statement

Colin

>
> On Thursday, August 29, 2013 1:00:24 PM UTC-7, Colin Law wrote:
>>
>> On 29 August 2013 20:48, Rekha Benada <[email protected]> wrote:
>> > Hi,
>> >
>> > I am following this post
>> > http://www.sitepoint.com/ruby-social-gems-linkedin/
>> > for using linked gem and API for getting profile and other stuff
>> > But at the end I am getting this error:
>> >
>> >
>> >
>> > => Booting WEBrick
>> > => Rails 3.2.13 application starting in development on
>> > http://0.0.0.0:3000
>> > => Call with -d to detach
>> > => Ctrl-C to shutdown server
>> > Exiting
>> >
>> > /Users/rekha/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/routing/mapper.rb:179:in
>> > `default_controller_and_action': missing :action (ArgumentError)
>>
>> Very likely a problem with routes.rb.  Post it here (after removing
>> all comment lines, we don't need to see those).
>>
>> Colin

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLt3P36GYLy971PFRTDeb5wLpd3HNamsdNezW4weB7qvYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to