Modules\Newsletter\Controllers\Backend\NewsletterController::index PHP Method

index() public method

public index ( )
    public function index()
    {
        // \Schema::drop('newsletters');
        // \Schema::drop('newsletter_subscribers');
        // die;
        $newsletters = Newsletter::latest()->get();
        $this->layout->title = 'All Newsletters';
        $this->layout->content = View::make('newsletters::index')->with('newsletters', $newsletters);
    }