This project is archived and is in readonly mode.

#6790 new
scott (at keepflippin)

<action> not being found automatically in views

Reported by scott (at keepflippin) | May 19th, 2011 @ 01:01 PM

The controller:

class HoursController < ApplicationController
  respond_to :html
  respond_to :js, :only => [:id]
  def index
  def id

In app/views/hours there's a file called and the following error is produced:

Template is missing

Missing template hours/id, application/id with {:locale=>[:en, :en], :formats=>[:js, "application/ecmascript", "application/x-ecmascript", "*/*"], :handlers=>[:builder, :erb]}. Searched in: * "hours/app/views"

Normal coffeescript files work fine in app/assets/javascripts. This is using coffee-script 2.2.0.

No comments found

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket