Skip to content

Instantly share code, notes, and snippets.

@bricker
Created July 26, 2013 18:35
Show Gist options
  • Save bricker/6091186 to your computer and use it in GitHub Desktop.
Save bricker/6091186 to your computer and use it in GitHub Desktop.
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