But <?php echo Form::open($uri.'/delete/'.'<?php echo $singular_name->id; ?>'); ?><?php echo "\n" ?> creates <form action="http://playground.local/animal/delete/<?php echo $singular_name->id; ?>" accept-charset="utf-8" method="post"> with a full URL. Is there anyway that this will also be only action="animal/delete/<?php echo $singular_name->id; ?>"
That would be perfect as I then can change Base:URL without doing all modules new with Oil.
I use $uri in both areas and I don't understand why one time it creates a full URL and in one time not.
I don't know exactly where these snippets come from, and why $uri contains a fully qualified URI in the second case.
But I assume it's a URI created with Uri::create(), which uses the base_url defined in your config file. If that is set to null, Fuel will autodetect the base url, which is always a fully qualified result.
Try setting the base_url in the config to "" (empty string) or "/" (relative path).