app/controllers/tr8n/admin/translation_key_controller.rb in tr8n-3.1.1 vs app/controllers/tr8n/admin/translation_key_controller.rb in tr8n-3.1.2

- old
+ new

@@ -1,7 +1,7 @@ #-- -# Copyright (c) 2010-2011 Michael Berkovich +# Copyright (c) 2010-2011 Michael Berkovich, tr8n.net # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, @@ -106,9 +106,13 @@ redirect_to_source end def comments @comments = Tr8n::TranslationKeyComment.filter(:params => params, :filter => Tr8n::TranslationKeyCommentFilter) + end + + def sync_logs + @logs = Tr8n::SyncLog.filter(:params => params, :filter => Tr8n::SyncLogFilter) end def delete_comment params[:comments] = [params[:comment_id]] if params[:comment_id] if params[:comments]