Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controllers Override #70

Open
perumal opened this issue Feb 27, 2013 · 2 comments
Open

Controllers Override #70

perumal opened this issue Feb 27, 2013 · 2 comments

Comments

@perumal
Copy link

perumal commented Feb 27, 2013

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
Copy link

ksheurs commented Feb 27, 2013

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
Copy link
Author

perumal commented Feb 27, 2013

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants