Ruby on Rails Monday, September 2, 2013

My routes.rb is same as in this tutorial. Here it is

LinkedinGem::Application.routes.draw do
  devise_for :users

  resources :linkedin


  match '/linkedin_profile'
  match '/linkedin_oauth_url' => 'linkedin#generate_linkedin_oauth_url'
  match '/oauth_account' => 'linkedin#oauth_account'

   root :to => "linkedin#index"

On Thursday, August 29, 2013 1:00:24 PM UTC-7, Colin Law wrote:
On 29 August 2013 20:48, Rekha Benada <rekha....@gmail.com> 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 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/15736b84-a16d-4a1a-8202-e6ab7815c4bd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment