Skip to content
This repository has been archived by the owner on May 17, 2020. It is now read-only.

Commit

Permalink
fixes suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Chan committed Feb 12, 2016
1 parent 35553a3 commit 65eb3df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/GeneratorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class GeneratorCommand extends Command
/**
* @var string
*/
protected $suffix = 'localizations';
protected $suffix = 'localization';

/**
* @var \Illuminate\Filesystem\Filesystem
Expand Down Expand Up @@ -191,7 +191,7 @@ private function replaceTableName(&$stub)
*/
private function getTableName()
{
return $this->argument('table') . '_' . $this->suffix;
return $this->argument('table') . '_' . $this->suffix . 's';
}

/**
Expand Down

0 comments on commit 65eb3df

Please sign in to comment.