Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
Fix #1151 [BF_Router] call to undefined method `_set_404override_cont…
Browse files Browse the repository at this point in the history
…roller()`
  • Loading branch information
mwhitneysdsu committed Aug 3, 2015
1 parent bcd90d9 commit 6a5d987
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions bonfire/core/BF_Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,17 @@ public function _set_default_controller()
}
}

/**
* Sets the module path to the 404_override controller. This is pulled from
* the MX Router primarily for use by the _set_default_controller() method.
*
* @return void
*/
protected function _set_404override_controller()
{
$this->_set_module_path($this->routes['404_override']);
}

/**
* Set module path.
*
Expand Down
1 change: 1 addition & 0 deletions bonfire/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#### New Features:

#### Closes Issues:
* #1151: [BF_Router] Call to undefined method `_set_404override_controller()`
* #1149: Blog Tutorial defined `$modified_field` without default value.
* #1147: Unique validation fails on existing role.
* #1144: Emailer lang entries missing when sending mail from users module.
Expand Down
2 changes: 1 addition & 1 deletion bonfire/docs/upgrade/076.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 0.7.5 to 0.7.6

1. Update `/bonfire/docs/tut_blog.md`
1. Update `/bonfire/core/BF_Router.php`
2. Update `/bonfire/modules/builder/libraries/Modulebuilder.php`
3. Update `/bonfire/modules/emailer/libraries/Emailer.php`
4. Update `/bonfire/modules/roles/views/settings/role_form.php`
Expand Down

0 comments on commit 6a5d987

Please sign in to comment.