Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 0e6ea00

Browse files
committed
Reflect changes and add to README
1 parent 2805854 commit 0e6ea00

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.3.1
2+
* Invoking params multiple times will append to the existing parameters
3+
14
## 0.3.0
25
* Depends on `sprockets < 3` thus source map can still work
36
* Remove sprockets-es6 from dependency

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ class App
182182
optional :filters, type: Array[String]
183183
optional :flash_message, type: String, default: 'Welcome!' # no need to feed through `getDefaultProps`
184184
end
185+
186+
# Will append to the params above
187+
params do
188+
requires :password, type: String
189+
end
185190

186191
def render
187192
div

0 commit comments

Comments
 (0)