class Admin::ResourceController
def populate_format
Assist with user agents that cause improper content-negotiation
def populate_format params[:format] ||= 'html' unless request.xhr? end
def populate_format params[:format] ||= 'html' unless request.xhr? end