| Message: 92969 |
 |
BY: David Lippert (dlippert) DATE: 2010-03-04 21:33 SUBJECT: RE: One way to do this... Thanks, Kim! This solution is much easier and more elegant. I was able to make it work with one small change. In srg_controller, instead of adding:
@subject = 0 || params[:subject]
I added:
@subject = params[:subject]
I did end up using the new view as described in my last post to do this, but it is now applied to all 12 guide categories. Here's the sample url, just change the number to open different categories:
http://alacarte.pcc.edu/subject-specific?subject=3
| |