Hallo,
Ich steh grad ein wenig auf dem Schlauch scheint mir, daher frag ich
einfach mal.
Der Aufbau ist recht einfach:
GroupsController
Groups::PagesController < PagesController
PagesController
Die Vererbung des Groups::PagesController möcht ich gern behalten
weil ich im Controller oft super rufe, allerdings brauch ich aus
dem GroupsController eine Funktion is_group_editor? die ich so nicht
aufrufen
kann. In welche Richtung muss ich also weiter?
Sollte ich die Funktion is_group_editor? in das Model packen?
ciao, tom
--
Thomas R. "TomK32" Koll <> http://tomk32.de <> http://kampodscha.com
just a geek trying to change the world
_______________________________________________
rubyonrails-ug mailing list
[email protected]
http://mailman.headflash.com/mailman/listinfo/rubyonrails-ug