0
後我重寫顯示頁面活動管理,按鈕編輯和刪除不顯示?編輯按鈕和刪除按鈕不顯示後覆蓋顯示頁面活動管理軌道
這是我的代碼:
show do |ad|
attributes_table do
row :id
row :name
row :featured
row :url
row :amount
row :application_deadline
row :accreditation
row :created_at
row :updated_at
row :degree_type
row :states_name do
ad.states.map(&:name)
end
row :description
row :slug
row :deadline
row :degree_string
row :image_file_name
row :image_content_type
row :image_file_size
row :image_updated_at
row :real_amount
row :real_deadline
end
end