Sha256: f10541512e3b43bd1bb8629036eba10c36043be815e1032c9010c4242ac1a124
Contents?: true
Size: 309 Bytes
Versions: 6
Compression:
Stored size: 309 Bytes
Contents
module ApiTaster class ApplicationController < ActionController::Base layout proc { |controller| controller.request.xhr? ? nil : 'api_taster/application' } before_filter :reload_routes private def reload_routes load Rails.application.root.join('config/routes.rb') end end end
Version data entries
6 entries across 6 versions & 1 rubygems