app/helpers/refinery/photo_gallery/admin/photos_helper.rb in refinerycms-photo-gallery-0.0.2.dev vs app/helpers/refinery/photo_gallery/admin/photos_helper.rb in refinerycms-photo-gallery-0.1.0

- old
+ new

@@ -1,10 +1,12 @@ module Refinery module PhotoGallery module Admin module PhotosHelper - + def get_filename_part(filename) + filename[0, filename.rindex('.') ] + end end end end -end \ No newline at end of file +end