lucasefe / themes_for_rails

Theme Support for Rails 3
This very same page :)
MIT License
308 stars 102 forks source link

Controllers Override #70

Open perumal opened 11 years ago

perumal commented 11 years ago

Hi lucasefe,

    Using themes_for_rails we can override the views, stylesheets and javascripts.
    In the same manner, is it also possible to override the CONTROLLERS.
    If it is possible then please let me know how. It will be of great help to me and others.

    There are different solutions in INTERNET but I like the style of themes where there is a separate folder for each theme.

   Thanks a lot for this GEM.
ksheurs commented 11 years ago

i think the idea is just to override presentation type stuff (views, stylesheet, javascript, images, etc)... not controllers/models. that logic should be the same across themes.

perumal commented 11 years ago

@ksheurs Ya....I Understand. The themes_for_rails basically works on the concept of overriding the view paths. My Query is, in the similar manner, is there a way to override the controller paths under the sub directory of themes. I am not requesting this feature to be implemented in this gem . this is just my query for my problem. Please let me know your inputs on this