moving support for using view instead of sites table into concerns