search for: pluginscontroller

Displaying 1 result from an estimated 1 matches for "pluginscontroller".

Did you mean: loginscontroller
2010 Aug 28
0
Rails 3 rendering XML problem
I have Rails 3 application (running Rails RC1), and I have the following controller: class PluginsController < ApplicationController respond_to :html, :xml, :json def index @plugins = Plugin.all respond_with(@plugins) end end If I try to render http://localhost:3000/plugins it works fine, showing me the HTML version. If I try to get http://localhost:3000/plugins.json, it also correctly s...