Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom css and js #9

Open
roykolak opened this issue Jul 20, 2010 · 1 comment
Open

Custom css and js #9

roykolak opened this issue Jul 20, 2010 · 1 comment

Comments

@roykolak
Copy link

It seems that custom css and javascript files will only be loaded if their extensions are .stylesheets or .javascripts. Is there a reason for this?

def local_stylesheets
  Dir[Dir.pwd + '/*.stylesheets']
end

def javascripts
  Dir[Dir.pwd + '/*.javascripts'].map { |path| File.read(path) }
end
@santiycr
Copy link

+1, WTF

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants