回答編集履歴
2
修正
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
```
|
10
10
|
|
11
|
-
li.nav-item = link_to "action1" ,action1_path ,class:"nav-link
|
11
|
+
li.nav-item = link_to "action1" ,action1_path ,class:"nav-link #{active if params[:hoge] == "〇〇(trueにできる値)" }"
|
12
12
|
|
13
13
|
```
|
14
14
|
|
1
修正
test
CHANGED
@@ -6,7 +6,11 @@
|
|
6
6
|
|
7
7
|
|
8
8
|
|
9
|
+
```
|
10
|
+
|
9
11
|
li.nav-item = link_to "action1" ,action1_path ,class:"nav-link active #{active if params[:hoge] == "〇〇(trueにできる値)" }"
|
12
|
+
|
13
|
+
```
|
10
14
|
|
11
15
|
|
12
16
|
|