I am using rails2.3 for my client.I want to render a layout to all of the pages in the application from plugin.How can i made this thing.I need not change any thing in core application.How can i render layout from plugin.
Thank you
Asked
Active
Viewed 164 times
-1

Rajesh M
- 1
- 5
1 Answers
0
How exactly is your layout build? If it's html/css you can add the html code to app/views/layouts/application.html.erb. Add the style.css file to app/assets/stylesheets en connect them.

LiveNL
- 194
- 2
- 15
-
Thanks for responding, i have application.html.erb file in rails pplication.I need to add some extra html/css without changing exixting one.I need to add this using plugin. – Rajesh M Mar 02 '14 at 18:00
-
Yes, every rails app does have that file. But what's the plugin like, i'm not sure about what you exactly want to do. – LiveNL Mar 04 '14 at 19:50