Change look of event history page similar to changelog

This commit is contained in:
Nishanth Vijayan 2016-08-09 12:22:43 +05:30
parent 86ba2d005e
commit c80f37f3ff
4 changed files with 40 additions and 40 deletions

View file

@ -29,7 +29,7 @@ module Admin
flash[:error] = 'Revert failed. Attribute missing or invalid'
end
redirect_to admin_revision_history_path
redirect_back_or_to admin_revision_history_path
end
def revert_object
@ -52,7 +52,7 @@ module Admin
flash[:error] = 'The item is already in the state that you are trying to revert it back to'
end
redirect_to admin_revision_history_path
redirect_back_or_to admin_revision_history_path
end
end
end