anonym
anonym

Reputation: 4840

Laravel5: Where do I place a css file with only backend design classes?

I have a separate stylesheet (backend.css) for my admin backend css classes. Since clearly it shouldn't be in the public folder, where would be the appropriate location to store it?

Also, since HTML helper function:

{{ Html::style('css/stylesheet.css') }}

locates to only files in the public folder, how do I access it?

Upvotes: 0

Views: 220

Answers (1)

LorenzSchaef
LorenzSchaef

Reputation: 1543

The "public" folder is called that way because it is accessible via HTTP. It does not refer to any specific part of your application (public or admin). So the "public" folder is the appropriate place for any files that have to be accessed directly via HTTP, like images, css and javascript files.

Upvotes: 2

Related Questions