jamuraa / gatherling

Magic: The Gathering tournament runner and tracker for Pauper Magic
http://pdcmagic.com/gatherling
MIT License
11 stars 11 forks source link

Update models/Series.php #97

Closed Dabil closed 11 years ago

Dabil commented 11 years ago

Moves Series Season Standings to Model so it can be easily accessed from multiple places.

jamuraa commented 11 years ago

This one and #98 should be the same pull request. Please put them together. The way to do this, is to make a branch on your repository, and then edit the files in that branch. Then you can make a merge request for the branch. For example, you would make a branch that is instead of patch-8, like series-standings-in-model, and edit files on that branch.

Aside from that issue though, this is view code, and it should not be in the model. I'm working on reworking controllers and views now so that we will be able to have partial views, which is what you want to do here. I'm not going to put this into the model like this.