I am not really sure what this is and why it is positioned in models since it works with request (everything that is not connected to the database directly should be positioned in 'web' folder, this is a view so it needs to be positioned in views). Please elaborate on this a bit, so I can understand...