Skip to content

Commit

Permalink
docs: cleanup action references
Browse files Browse the repository at this point in the history
  • Loading branch information
josegonzalez committed Dec 6, 2016
1 parent 298dbf7 commit c732649
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/general-configuration/sidebar-navigation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ The sidebar navigation can also be completely disabled by setting the value to `

.. code-block:: php
$action = $this->Crud->action();
$action->config('scaffold.sidebar_navigation', false);
If you wish to fallback to just showing links to Crud `index` action for all tables, you can customize this by using the ``scaffold.tables`` and ``scaffold.tables_blacklist`` crud config options:
Expand All @@ -50,7 +51,7 @@ If you wish to fallback to just showing links to Crud `index` action for all tab
$action->config('scaffold.tables', ['posts']);
// do not show these tables
$this->Crud->action()->config('scaffold.tables_blacklist', [
$action->config('scaffold.tables_blacklist', [
'phinxlog',
'users',
]);
1 change: 1 addition & 0 deletions docs/general-configuration/utility-navigation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ The utility navigation can also be completely disabled by setting the value to `

.. code-block:: php
$action = $this->Crud->action();
$action->config('scaffold.utility_navigation', false);

0 comments on commit c732649

Please sign in to comment.