projects
/
MojoFacets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
convert action filename back to REST url
[MojoFacets.git]
/
templates
/
actions
/
view.html.ep
diff --git
a/templates/actions/view.html.ep
b/templates/actions/view.html.ep
index
eaf50ab
..
4111df2
100644
(file)
--- a/
templates/actions/view.html.ep
+++ b/
templates/actions/view.html.ep
@@
-1,8
+1,8
@@
% layout 'default';
% my $action = $uid;
% layout 'default';
% my $action = $uid;
-% $action =~ s
/^.+\.([^\.]+)$/$1/
;
-% $action =
url_for( controller => 'data', action => $action )
;
+% $action =~ s
!\.!/!g
;
+% $action =
~ s!^\d+/\d+!!
;
<form method=post action=<%= $action %>>
<input type=submit value="<%= $action %>">
<tt><%= $uid %></tt>
<form method=post action=<%= $action %>>
<input type=submit value="<%= $action %>">
<tt><%= $uid %></tt>