Skip to content

Commit 7b552d9

Browse files
committed
- Renamed renderView() to view to be ColdBox 7 compliant now.
1 parent a286d57 commit 7b552d9

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

box.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"ColdBox Security",
3-
"version":"3.5.0",
3+
"version":"3.4.3",
44
"location":"https://downloads.ortussolutions.com/ortussolutions/coldbox-modules/cbsecurity/@build.version@/[email protected]@.zip",
55
"author":"Ortus Solutions.com <[email protected]>",
66
"slug":"cbsecurity",

changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
## [Unreleased]
1111

12+
### Fixed
13+
14+
- Renamed `renderView()` to `view` to be ColdBox 7 compliant now.
15+
1216
## [3.4.2] - 2024-01-10
1317

1418
## [3.4.1] - 2023-08-09

layouts/Main.cfm

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
</nav>
7777

7878
<div class="container-fluid m-2 mt-4 mb-5">
79-
#renderView()#
79+
#view()#
8080
</div>
8181

8282
<!--- Scripts --->

test-harness/layouts/Main.cfm

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<cfoutput>
22
<h1>Module Tester</h1>
33
<div>
4-
#renderView()#
4+
#view()#
55
</div>
6-
</cfoutput>
6+
</cfoutput>

views/home/index.cfm

+8-8
Original file line numberDiff line numberDiff line change
@@ -137,49 +137,49 @@
137137

138138
<div class="tab-content w-100 ms-5 me-2">
139139
<div class="tab-pane fade show active" id="activity-pane" role="tabpanel" aria-labelledby="activity-tab" tabindex="0">
140-
#renderView(
140+
#view(
141141
view = "home/tabs/activity",
142142
module = "cbsecurity"
143143
)#
144144
</div>
145145
<div class="tab-pane fade show" id="authentication-pane" role="tabpanel" aria-labelledby="authentication-tab" tabindex="0">
146-
#renderView(
146+
#view(
147147
view = "home/tabs/authentication",
148148
module = "cbsecurity"
149149
)#
150150
</div>
151151
<div class="tab-pane fade show" id="basicAuth-pane" role="tabpanel" aria-labelledby="basicAuth-tab" tabindex="0">
152-
#renderView(
152+
#view(
153153
view = "home/tabs/basicAuth",
154154
module = "cbsecurity"
155155
)#
156156
</div>
157157
<div class="tab-pane fade show" id="csrf-pane" role="tabpanel" aria-labelledby="csrf-tab" tabindex="0">
158-
#renderView(
158+
#view(
159159
view = "home/tabs/csrf",
160160
module = "cbsecurity"
161161
)#
162162
</div>
163163
<div class="tab-pane fade show" id="firewall-pane" role="tabpanel" aria-labelledby="firewall-tab" tabindex="0">
164-
#renderView(
164+
#view(
165165
view = "home/tabs/firewall",
166166
module = "cbsecurity"
167167
)#
168168
</div>
169169
<div class="tab-pane fade show" id="rules-pane" role="tabpanel" aria-labelledby="rules-tab" tabindex="0">
170-
#renderView(
170+
#view(
171171
view = "home/tabs/rules",
172172
module = "cbsecurity"
173173
)#
174174
</div>
175175
<div class="tab-pane fade show" id="jwt-pane" role="tabpanel" aria-labelledby="jwt-tab" tabindex="0">
176-
#renderView(
176+
#view(
177177
view = "home/tabs/jwt",
178178
module = "cbsecurity"
179179
)#
180180
</div>
181181
<div class="tab-pane fade show" id="security-headers-pane" role="tabpanel" aria-labelledby="security-headers-tab" tabindex="0">
182-
#renderView(
182+
#view(
183183
view = "home/tabs/security-headers",
184184
module = "cbsecurity"
185185
)#

0 commit comments

Comments
 (0)