README.md in simple_calendar-2.2.4 vs README.md in simple_calendar-2.2.5
- old
+ new
@@ -67,9 +67,20 @@
<% end %>
```
Setting `number_of_days` is optional and defaults to 4.
+### Custom Parameter Name
+
+You can pass in `start_date_param` to change the name of the parameter
+in the URL for the current calendar view.
+
+```erb
+<%= calendar start_date_param: :my_date do |date| %>
+ <%= date %>
+<% end %>
+```
+
### Custom Partial
You can set a different partial name for calendars by passing the partial path.
```erb