use timestamp instead of created_at

This commit is contained in:
Mike Slemmer 2013-08-15 00:07:12 -07:00
parent af9dcae056
commit 9af9600f72
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
ActiveAdmin.register JamRuby::CrashDump, :as => 'Crash Dump' do
# Note: a lame thing is it's not obvious how to make it search on email instead of user_id.
filter :created_at
filter :timestamp
filter :user_email, :as => :string
filter :client_id
index do
column "Timestamp" do |post|
post.created_at.strftime('%b %d %Y, %H:%M')
post.timestamp.strftime('%b %d %Y, %H:%M')
end
column "Client Type", :client_type
column "Dump URL" do |post|