Displaying 1 result from an estimated 1 matches for "say_when_todo".
2011 Feb 12
5
link_to a action in the controlles is not called
i have  a link where it has to call a method defin in todoscontroller
named say_when but show is called
      <td><%= link_to ''Say when'', todo,  :action => :say_when ,
:remote => true %></td>
class TodosController < ApplicationController
  # GET /todos
  # GET /todos.xml
  def index
    @todos = Todo.all
    respond_to do |format|
      format.html #