lib/heimdallr/proxy/collection.rb in heimdallr-1.0.0 vs lib/heimdallr/proxy/collection.rb in heimdallr-1.0.1
- old
+ new
@@ -220,7 +220,11 @@
context: @context,
scope: @scope,
options: @options
}.merge(@restrictions.reflection)
end
+
+ def creatable?
+ @restrictions.can? :create
+ end
end
end
\ No newline at end of file