Created
July 26, 2013 18:35
-
-
Save bricker/6091186 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Audio | |
FILE_ROOT = "/media/audio/" | |
end | |
module Audio | |
module Paths | |
def full_path | |
File.join(FILE_ROOT, self.upload_dir) | |
File.join(Audio::FILE_ROOT, self.upload_dir) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment