modified code for code reviewer
removed ajax from createpost form
working with the tests removed communities_controllers_spec.rb