class Product::BrainstormingController < Voluntary::EmberJs::ApplicationController layout Proc.new { |controller| controller.request.xhr? || request.format.try('json?') ? false : 'voluntary/ember_js' } def index end protected def voluntary_ember_js_stylesheets ['voluntary_brainstorming/application'] end def voluntary_ember_js_javascripts ['voluntary_brainstorming/application'] end end