Skip to content

Commit 0edbdb6

Browse files
committed
Fix formatting in documentation for use_store macro; align code block indentation
1 parent 1566734 commit 0edbdb6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/session.cr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ module Session
114114
#
115115
# Call this **before** `Session.configure`:
116116
#
117-
# ```crystal
117+
# ```
118118
# Session.use_store(Session::CookieStore(UserSession))
119119
#
120120
# Session.configure do |c|
121121
# c.secret = ENV["SESSION_SECRET"]
122-
# c.store = Session::CookieStore(UserSession).new
122+
# c.store = Session::CookieStore(UserSession).new
123123
# end
124124
# ```
125125
macro use_store(store_type)

0 commit comments

Comments
 (0)