mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 13:44:09 +00:00
Change look of event history page similar to changelog
This commit is contained in:
parent
86ba2d005e
commit
c80f37f3ff
4 changed files with 40 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue