themes_for_rails icon indicating copy to clipboard operation
themes_for_rails copied to clipboard

Support Helper per theme?

Open jackbit opened this issue 11 years ago • 1 comments

is it available to write helper module per theme? for example the directory structure will be like this:

  • themes
    • business_theme
      • assets
      • views
      • helpers
        • application_helper.rb
        • home_helper.rb
        • more

So the helpers which are inside theme would be isolated helper but still can access helper in app/helpers, if a method in app/helpers/application_helper.rb is already exist in themes/:name/helpers, it would use method in theme's helper.

What do you think? is it good or bad idea?

cheers, yacobus

jackbit avatar Sep 21 '12 07:09 jackbit

Helpers are not supported. It might be cool.

I gotta be honest. I am not working currently with rails so I really don't use this gem anymore. I'm looking for a maintainer.

For now, if you implement it and test it, I can merge it, but I can't code it.

lucasefe avatar Sep 22 '12 21:09 lucasefe