Think I might have screwed up converting the manually configured routes. 
 Whenever I try to go to the manual, plugin or tutorials pages, ie thouse 
not based on hobo_models I get an error can't convert nil into Array. Below 
is are the routes.rb changes I made with the original routes commented out. 
I'm getting into the controllers fine but It looks like ruby doesn't know 
which view to display

Hobocookbook::Application.routes.draw do root :to => 'front#index', :as => 
'homepage' match 'search' => 'front#search', :as => 'site_search' match 
'manual' => 'manual#index' match 'manual/:section' => 
'manual#manual_section', :as => 'manual_section' match 
'manual/:section/:subsection' => 'manual#manual_subsection' match 
'tutorials' => 'tutorials#index', :as => 'tutorials' match 
'tutorials/:tutorial' => 'tutorials#show', :as => 'tutorial' match 'plugins' 
=> "plugins#index", :as => 'plugins' match 'plugin/:plugin' => 
"plugins#show", :as => 'plugin' #map.site_search 'search', :controller => 
'front', :action => 'search' # map.homepage '', :controller => 'front', 
:action => 'index' # map.manual 'manual', :controller => 'manual', :action 
=> 'index' # map.manual_section 'manual/:section', :controller => 'manual', 
:action => 'manual_section' # map.manual_section 
'manual/:section/:subsection', :controller => 'manual', :action => 
'manual_subsection' # map.tutorials 'tutorials', :controller => 'tutorials', 
:action => 'index' # map.tutorial 'tutorials/:tutorial', :controller => 
'tutorials', :action => 'show' # # map.plugins 'plugins', :controller => 
'plugins', :action => 'index' # map.plugin 'plugins/:plugin', :controller => 
'plugins', :action => 'show'

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/EbAJ2vY1hucJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to