diff options
Diffstat (limited to 'app/views/person/_nav.rhtml')
-rw-r--r-- | app/views/person/_nav.rhtml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/person/_nav.rhtml b/app/views/person/_nav.rhtml new file mode 100644 index 0000000..bcde756 --- /dev/null +++ b/app/views/person/_nav.rhtml @@ -0,0 +1,11 @@ +<div> + <p> + <strong>Navigation:</strong> + <%= link_to "Locations", :action => "list", :controller => "location" %> | + <%= link_to "Persons", :action => 'list', :controller => 'person' %> <br /> + <strong>Benutzer:</strong> + <%= link_to session[:person].email , :action => 'show', :controller => 'person', :id => session[:person].id %> | + <%= link_to 'Logout', :action => 'logout', :controller => 'person' %> + </p> +</div> +<hr /> |