README.md in the_garage-2.8.1 vs README.md in the_garage-2.8.2

- old
+ new

@@ -111,16 +111,18 @@ ```ruby Garage.configure {} # Optional -Garage::TokenScope.configure do - register :public, desc: "accessing publicly available data" do - access :read, Recipe - end +Rails.application.config.to_prepare do + Garage::TokenScope.configure do + register :public, desc: "accessing publicly available data" do + access :read, Recipe + end - register :read_post, desc: "reading blog post" do - access :read, Post + register :read_post, desc: "reading blog post" do + access :read, Post + end end end # If you want to use different authentication/authorization logic. Garage.configuration.strategy = Garage::Strategy::AuthServer