Add remote translations to debates and proposals
Include RemotelyTranslatable concern on commentable actions to detect remote translations on index and show controllers actions.
This commit is contained in:
@@ -25,6 +25,14 @@ describe "Proposals" do
|
||||
"edit_proposal_path",
|
||||
%w[title summary],
|
||||
{ "description" => :ckeditor }
|
||||
it_behaves_like "remotely_translatable",
|
||||
:proposal,
|
||||
"proposals_path",
|
||||
{}
|
||||
it_behaves_like "remotely_translatable",
|
||||
:proposal,
|
||||
"proposal_path",
|
||||
{ "id": "id" }
|
||||
end
|
||||
|
||||
context "Index" do
|
||||
|
||||
Reference in New Issue
Block a user