質問編集履歴

2

aaa

2015/08/20 09:49

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -48,7 +48,7 @@
48
48
 
49
49
  public function generatePath($url){
50
50
 
51
- $this->UrlRedirection = new UrlRedirection();
51
+ $this->UrlPath= new UrlPath();
52
52
 
53
53
  $path = substr(str_shuffle('1234567890abcdefghijklmnopqrstuvwxyz'),0,7);
54
54
 

1

aa

2015/08/20 09:49

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -42,7 +42,13 @@
42
42
 
43
43
  //in model
44
44
 
45
+ <?
46
+
47
+ App::import('Model','UrlPath');
48
+
45
- <? public function generatePath($url){
49
+ public function generatePath($url){
50
+
51
+ $this->UrlRedirection = new UrlRedirection();
46
52
 
47
53
  $path = substr(str_shuffle('1234567890abcdefghijklmnopqrstuvwxyz'),0,7);
48
54