lib/micro_admin/dashboard/base/show.erb in micro_admin-0.1.6 vs lib/micro_admin/dashboard/base/show.erb in micro_admin-0.1.7
- old
+ new
@@ -1,9 +1,9 @@
<header class="navbar border-bottom p-4">
<h2 class="m-0">Show <%= model_class.name %></h2>
<div>
<a
- href="<%= "/admin/#{model_class.name.underscore}" %>"
+ href="<%= "#{self.class.url_base}/#{model_class.name.underscore.pluralize}" %>"
class="btn btn-primary">
Back
</a>
</div>
</header>
\ No newline at end of file