Luis D Urraca
Luis D Urraca

Reputation: 2084

How can i get rails app to only apply twitter bootstrap css to only selected pages?

I have an app, that will have a frontend where everyone can see and a backend for admin to manage the data. I want that all pages related to the backend to have twitter bootstrap applied while the other pages to use a different css. I'm already loading different layouts depending on the controller. How can i achieve that?

Upvotes: 0

Views: 97

Answers (1)

sscirrus
sscirrus

Reputation: 56719

Simple: put the Twitter Bootstrap CSS file only in the layouts you're using for the backend!

Upvotes: 1

Related Questions