when destroying one element from my database, the index view
<% for activity in @activities %>
<%= activity.text %> by <%= current_user.name %> on <%= Time.current%> <br/>
<% end %>
no longer find the <%=trackable.element_name%> from config/pba.yml
activity:
element:
create: ' <%=trackable.element_name%> has been created '
update: ' <%=trackable.element_name%> has been edited '
destroy: ' <%=trackable.element_name%> has been removed '
and display something like:
element1 has been edited by me on 2012-08-19 16:20:44 UTC
Template not defined by me on 2012-08-19 16:20:44 UTC
"template not defined" being the element i have just deleted....
i would like to store the element name and the action that has been taken though...!?