Ich habe folgende ressource definiert: resources :nodes do member do get :show_text get :show_structure end end
und folgenden Controller: class NodesController < ApplicationController ... def show_text show render :partial => 'content/text' end def show_structure show render :partial => 'content/structure' end ... end Dann noch diesen view %ul.nav %li= link_to 'Inhalt', show_text_node_path(@node), :remote => true %li= link_to 'Struktur', show_structure_node_path(@node), :remote => true Und erhalte diese Fehlermeldung: No route matches {:controller=>"nodes", :action=>"show_text"} Extracted source (around line #3): 1: -if session[:user_id] 2: %ul.nav 3: %li= link_to 'Inhalt', show_text_node_path(@node), :remote => true 4: %li= link_to 'Struktur', show_structure_node_path(@node), :remote => true Falls jemand einen Tip hat? _______________________________________________ rubyonrails-ug mailing list rubyonrails-ug@headflash.com http://mailman.headflash.com/listinfo/rubyonrails-ug