Skip to content

Commit 825320e

Browse files
songhuangcniNecas
authored andcommitted
Update sample code in README
1 parent 68e27ff commit 825320e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ You must then call the ``apipie_validations`` method yourself, e.g.:
11561156

11571157
.. code:: ruby
11581158
1159-
before_action: :apipie_validations
1159+
before_action :apipie_validations
11601160
11611161
This is useful if you have before_actions which use parameter values: just add them
11621162
after the ``apipie_validations`` before_action.

0 commit comments

Comments
 (0)