Commit 7eb1e7eb authored by Vipul Basapati's avatar Vipul Basapati Committed by StyleCI Bot

Apply fixes from StyleCI

parent 32486836
......@@ -2,8 +2,8 @@
namespace App\Http\Controllers\Frontend;
use App\Models\Settings\Setting;
use App\Http\Controllers\Controller;
use App\Models\Settings\Setting;
use App\Repositories\Frontend\Pages\PagesRepository;
/**
......
......@@ -24,12 +24,11 @@ trait PageAttribute
*/
public function getViewButtonAttribute()
{
return '<a target="_blank" href="' . route('frontend.pages.show', $this->page_slug) . '" class="btn btn-flat btn-default">
return '<a target="_blank" href="'.route('frontend.pages.show', $this->page_slug).'" class="btn btn-flat btn-default">
<i data-toggle="tooltip" data-placement="top" title="View Page" class="fa fa-eye"></i>
</a>';
}
/**
* @return string
*/
......
......@@ -29,7 +29,7 @@ class PagesRepository extends BaseRepository
->select([
config('module.pages.table').'.id',
config('module.pages.table').'.title',
config('module.pages.table') . '.page_slug',
config('module.pages.table').'.page_slug',
config('module.pages.table').'.status',
config('module.pages.table').'.created_at',
config('module.pages.table').'.updated_at',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment