Skip to content
Browse files

Fix Template Loading

  • Loading branch information...
1 parent 6d5e56c commit d64ef5b429edb026d82a9cdf79f1348cd1fdf7d6 @jwaldrip committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/make_restful/rendering.rb
View
2 lib/make_restful/rendering.rb
@@ -15,7 +15,7 @@ def render(*args, &block)
options[:status] ||= @status
- load_template = options.delete(:load_template) == true
+ load_template = options.delete(:load_template) != false
super(*args, options, &block) and return if ( template_present && load_template ) || options.except(:status).present?

0 comments on commit d64ef5b

Please sign in to comment.
Something went wrong with that request. Please try again.