Skip to content

Commit

Permalink
Merge pull request #65 from s-nakajima/master
Browse files Browse the repository at this point in the history
UIガイドによる改修等
  • Loading branch information
s-nakajima committed May 22, 2016
2 parents 8e3dee6 + 129b655 commit 8de200a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Controller/BbsFrameSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class BbsFrameSettingsController extends BbsesAppController {
public function edit() {
if ($this->request->is('put') || $this->request->is('post')) {
if ($this->BbsFrameSetting->saveBbsFrameSetting($this->data)) {
$this->redirect(NetCommonsUrl::backToPageUrl());
$this->redirect(NetCommonsUrl::backToPageUrl(true));
return;
}
$this->NetCommons->handleValidationError($this->BbsFrameSetting->validationErrors);
Expand Down
1 change: 1 addition & 0 deletions Model/BbsArticle.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class BbsArticle extends BbsesAppModel {
'X-SUBJECT' => 'BbsArticle.title',
'X-BODY' => 'BbsArticle.content',
'X-BBS_NAME' => 'Bbs.name',
'X-URL' => array('controller' => 'bbs_articles'),
),
),
'Topics.Topics' => array(
Expand Down
2 changes: 1 addition & 1 deletion View/BbsFrameSettings/edit.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<?php echo $this->BlockForm->displayEditForm(array(
'model' => 'BbsFrameSetting',
'callback' => 'Bbses.BbsFrameSettings/edit_form',
'cancelUrl' => NetCommonsUrl::backToPageUrl(),
'cancelUrl' => NetCommonsUrl::backToPageUrl(true),
)); ?>
</div>
</article>

0 comments on commit 8de200a

Please sign in to comment.