#325 fix: set belongs_to properly for namespaced controller and non_namespaced model

this pull request fix issue #325
This issue occurred when controller is in namespace but use model without namespace.