Template is missing 'show.rjs.rhtml' error in safari only?


#1

I was able to solve this but want to understand why this fix works.

Solution:
Remove the format.js line from the respond_to block

the error i get when navigating to: /music;accept
Template is missing
Missing template script/…/config/…/app/views/music;accept.rjs.rhtml

Accept is an aspect of the music controller eg in routes.rb
map.resources :music, :collection => {:accept => :get}

music controller:
def accept
#load collections etc

respond_to do |format|
  #format.js had to comment out this line to get rid of the error

why!!??
format.html #accept.rhtml
end
end

There is an accept.rhtml template and no rjs template at this stage.

It would be great to get some comments suggesting why this occurs in
safari.

Oh, i have tried installing the ‘browse_filters’ plugin.