summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'help/app/views/tickets/index.html.haml')
-rw-r--r--help/app/views/tickets/index.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/help/app/views/tickets/index.html.haml b/help/app/views/tickets/index.html.haml
new file mode 100644
index 0000000..6db2140
--- /dev/null
+++ b/help/app/views/tickets/index.html.haml
@@ -0,0 +1,10 @@
+%h2 tickets index (just as space)
+Create a
+= link_to "new ticket", new_ticket_path
+= # below shouldn't be unless logged in
+%h2 Tickets
+= # want to have selection option to see tickets, that are open, closed or all
+- @tickets.each do |ticket|
+ %p
+ = link_to ticket.title, ticket
+= #render(:partial => "ticket", :collection => @tickets)