• Sean McGivern's avatar
    DRY up diff_for_path actions · ff55398a
    Sean McGivern authored
    1. Move render method to a concern, not a helper.
    2. Let DiffHelper#diff_options automatically add the path option.
    3. Move more instance var definitions to before filters.
    ff55398a
diff_helper.rb 4.33 KB