On Monday, September 2, 2013 4:30:37 AM UTC-7, Colin Law wrote: > > On 2 September 2013 12:16, Rekha Benada <rekhu...@gmail.com <javascript:>> > 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? > > Nothing is missing here
> > 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 > > yes end statement is there > Colin > > > > > 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+unsubscr...@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/3167efe6-3dff-4553-9750-cd30fac74214%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.