Sha256: a403b55696489a75e4c62d82c255627a94702bd2225e8d2637f344768e736218
Contents?: true
Size: 486 Bytes
Versions: 31
Compression:
Stored size: 486 Bytes
Contents
module Spree module Api module Responders module RablTemplate def to_format if template render template, :status => options[:status] || 200 else super end rescue ActionView::MissingTemplate => e api_behavior(e) end def template request.headers['X-Spree-Template'] || controller.params[:template] || options[:default_template] end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems