Added nice front page stuff, fixing sqlite issues, adding user payments to profiles

This commit is contained in:
2013-02-14 00:29:22 -07:00
parent ed75ea0e90
commit cefd4b3878
8 changed files with 44 additions and 6 deletions

View File

@@ -2,6 +2,7 @@
<%= link_to 'New Card', new_card_path if can? :create, Card %>
<%= link_to 'Upload all cards', upload_all_path if can? :upload_all, Card %>
<%= link_to 'Door Logs', door_logs_path if can? :read, DoorLog %>
<p>
<b>Most Active Card Last 7 Days:</b> <%= @most_active_card.name %> (<%= @most_active_card.accesses_this_week %> times)
</p>