ruby on rails - undefined local variable or method `browse_path' -


i'm getting error

nameerror in browse#index undefined local variable or method `browse_path' 

here's code in view error raised

<li><%= link_to "browse",    browse_path %></li> 

here's controller

class browsecontroller < applicationcontroller  def index     @tags = tag.find(:all, :order => 'created_at desc')  end end 

and routes

get'/browse' => 'browse#index', :as => :index 

anyone know causing this?

try :as => :browse named route.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -