[Radiant] Core Dev: Page Controller and Page Editor refactorings

Sean Cribbs seancribbs at gmail.com
Mon Jun 4 11:41:01 CDT 2007


> Supporting your suggestion would require much more broad sweeping changes.
>   
That is part of the point, though, isn't it?  We should refactor the 
views as well so they are more model-oriented.  I'd love to be able to 
change the routes file to look something like this:

map.with_options :path_prefix => "admin/" do |admin|
    admin.resources :pages, :snippets, :layouts, :users, :extensions
end

# u.s.w.

Maybe that's a bit too far down the road, but it's the direction we 
should be going.

Sean




More information about the Radiant mailing list