lib/app_slice/middleware/static.rb in bradgessler-app-slice-0.2.2 vs lib/app_slice/middleware/static.rb in bradgessler-app-slice-0.2.3
- old
+ new
@@ -36,10 +36,10 @@
def rails_public_path
File.join(RAILS_ROOT, 'public')
end
def app_slice_public_path
- File.join(RAILS_ROOT, 'apps', AppSlice.app, 'public')
+ File.join(RAILS_ROOT, 'app_slices', AppSlice.app, 'public')
end
# TODO [BG Mar 09] This might have to be optimized instead of a stupid check
# one, check the other arrangement
def file_exist?(path)