# CSS issue...

**URL:** <https://discuss.rubyonrails.org/t/css-issue/41543>\
**Category:** rubyonrails-talk\
**Created:** [April 14, 2009, 1:50pm UTC](https://discuss.rubyonrails.org/t/css-issue/41543 "2009-04-14T13:50:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhishek\_shukla](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@Abhishek\_shukla](https://discuss.rubyonrails.org/u/Abhishek_shukla)\
**Post date:** [April 14, 2009, 1:50pm UTC](https://discuss.rubyonrails.org/t/css-issue/41543/1 "2009-04-14T13:50:18Z")

</div>

Hello friends I am calling css file from following folder “\<%= stylesheet\_path(”#{RAILS\_ROOT}/public/themes/style.css") %\>" And getting the following error any idea? ActionController::RoutingError (No route matches “/home/user/test/testapp/public/themes/style.css” with {:method=\>:get}):

Regards Abhi

---

<div class="post-metadata">

**Author:** ![Phlip](https://avatars.discourse-cdn.com/v4/letter/p/ed8c4c/32.png) [@Phlip](https://discuss.rubyonrails.org/u/Phlip)\
**Post date:** [April 14, 2009, 2:01pm UTC](https://discuss.rubyonrails.org/t/css-issue/41543/2 "2009-04-14T14:01:09Z")

</div>

Abhishek shukla wrote:

> I am calling css file from following folder "\<%= stylesheet\_path("#{RAILS\_ROOT}/public/themes/style.css") %\>"

I think that should be stylesheet\_tag.

Then take the RAILS\_ROOT and public out. You are generating HTML for a web browser, and it can only hit your web browser (roughly speaking) from below the public folder.

\<%= stylesheet\_tag('themes/style.css') %\>
