add homie to the gang when homie is created

This commit is contained in:
Bilal
2020-10-07 22:47:19 +03:00
parent 8d7716f2e0
commit 8832ba071b
9 changed files with 43 additions and 5 deletions

View File

@@ -46,7 +46,8 @@ class HomiesController < ApplicationController
params.require(:homie).permit(
:name,
:importance,
:about
:about,
:gang_id
)
end
end