Modules\Doptor\TranslationManager\Controllers\Backend\TranslationManagerController::index PHP Method

index() public method

Display a listing of the resource.
public index ( $language_id ) : Response
return Response
    public function index($language_id)
    {
        $language = TranslationLanguage::findOrFail($language_id);
        $groups = Translation::where('locale', $language->code)->groupBy('group')->get();
        $this->layout->title = 'All Translation For: ' . $language->name;
        $this->layout->content = View::make('translation_manager::index')->with('language', $language)->with('groups', $groups);
    }