Skip to content

Commit

Permalink
Merge pull request #5 from shunnmugam/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
shunnmugam authored Apr 7, 2019
2 parents 6652e64 + e8a28bf commit f36b4bc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/CmsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function register()
$this->app->register(ModuleServiceProvider::class);
$this->app->register(CommandProvider::class);

include('Helper.php');
include_once('Helper.php');

}

Expand Down
2 changes: 1 addition & 1 deletion src/stubs/cms/core/admin/module.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "admin",
"version": "0.0.1",
"version": "0.0.2",
"type" : "core",
"providers": [
"providers\\AdminServiceProvider"
Expand Down
2 changes: 1 addition & 1 deletion src/stubs/cms/core/admin/resources/views/login.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Laravel Cms | Administrator </title>
<title>{{isset(Configurations::getConfig('site')->site_name) ? Configurations::getConfig('site')->site_name : '' }} | Administrator </title>

<!-- Bootstrap -->
{!!Cms::style('theme/vendors/bootstrap/dist/css/bootstrap.min.css')!!}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function show($id)
public function edit($id)
{
$obj = StatesModel::findOrFail($id);
$countries = CountriesModel::orderBy('name')->pluck('name');
$countries = CountriesModel::orderBy('name')->pluck('name','id');
return view('locations::admin.state.edit',['layout'=>'edit','data'=>$obj,'countries'=>$countries]);
}

Expand Down
2 changes: 1 addition & 1 deletion src/stubs/cms/local/theme1/locations/module.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "locations",
"version": "0.0.1",
"version": "0.0.2",
"type" : "local",
"providers": [
"Providers\\LocationsServiceProvider"
Expand Down

0 comments on commit f36b4bc

Please sign in to comment.