This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Sequenzia/app/models/PostVote.php

13 lines
239 B
PHP
Raw Permalink Normal View History

2013-10-27 01:06:58 +02:00
<?php
class PostVote extends Rails\ActiveRecord\Base
{
protected function associations()
{
return array(
'belongs_to' => array(
'post',
'user'
)
);
}
}