So I saw how you guys were linking to a Github file for the stylesheet responsible for each UI element. For clarification;
I have my stylesheets separated into different folders so just having the current file's basename wasn't enough. So this PR adds the current file's relative path to the hash so it can be used create part of the file's url on Github. I'm pretty new to Rails let alone Ruby so I'm sure this could be handled better.
Example usage would be to set up a helper method that takes the hash as an argument and return https://github.com/user/repo/#{arg.filepath}/#{arg.filename}.
So I saw how you guys were linking to a Github file for the stylesheet responsible for each UI element. For clarification;
I have my stylesheets separated into different folders so just having the current file's basename wasn't enough. So this PR adds the current file's relative path to the hash so it can be used create part of the file's url on Github. I'm pretty new to Rails let alone Ruby so I'm sure this could be handled better.
Example usage would be to set up a helper method that takes the hash as an argument and return
https://github.com/user/repo/#{arg.filepath}/#{arg.filename}
.