Skip to content

Commit 12bdcab

Browse files
authored
Merge pull request #27 from stephencockerill/import-data-redirects
fix import Data instantiation
2 parents 85b2281 + 9dde795 commit 12bdcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/AltRedirectController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public function import(Request $request)
189189
// Close the file handle
190190
fclose($handle);
191191
}
192-
$data = new Data('redirect');
192+
$data = new Data('redirects');
193193
$data->saveAll($currentData);
194194

195195
}

0 commit comments

Comments
 (0)