A
A
Askhat Bikmetov2014-02-16 16:47:32
ruby
Askhat Bikmetov, 2014-02-16 16:47:32

How to select CSS based on domain in Sinatra?

I am working on a project that will have several different faces, but the database and the controller are the same. Actually there was a question sounded in heading. Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ololyay, 2014-02-16
@askhat

Depending on the value of request.host, substitute the required CSS in the view.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question