mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-13 21:33:20 +01:00
Fix tests
This commit is contained in:
parent
9bd9c7af9f
commit
d42f1ba0c5
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ class Admin::AnnouncementController < ApplicationController
|
||||||
redirect_to action: :index
|
redirect_to action: :index
|
||||||
else
|
else
|
||||||
flash[:error] = t(".error")
|
flash[:error] = t(".error")
|
||||||
render "announcement/new"
|
render "admin/announcement/new"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class Admin::AnnouncementController < ApplicationController
|
||||||
redirect_to announcement_index_path
|
redirect_to announcement_index_path
|
||||||
else
|
else
|
||||||
flash[:error] = t(".error")
|
flash[:error] = t(".error")
|
||||||
render "announcement/edit"
|
render "admin/announcement/edit"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue