<a href="<%= url_for( controller => 'data', action => 'export', id => 0 ) %>">export</a>
% }
+·
+<a id=code href="<%= url_for( controller => 'code', action => 'index', id => 0 ) %>">code</a>
+<a id=console href="#" style="display:none">console</a>
+
+% if ( my $id = stash('nytprof.id') ) {
+·
+<a href="<%= url_for( controller => 'profile', action => 'index', id => 0 ) %>">profile</a>
+% }
+
<span class=middle>
</span>
<a href="<%= url_for( controller => 'config', action => 'index', id => 0 ) %>">config</a>
·
-<a href="<%= url_for( controller => 'actions', action => 'changes', id => 0 ) %>">changes</a>
-<a href="<%= url_for( controller => 'actions', action => 'index', id => 0 ) %>">actions</a>
+<a href="<%= url_for( controller => 'changes', action => 'index', id => 0 ) %>">changes</a>
+<a href="<%= url_for( controller => 'actions', action => 'index', id => 0 ) %>">actions</a>
% if ( session('modified') ) {
% my $path = session('path');