File tree Expand file tree Collapse file tree
app/controllers/alchemy/json_api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ gemspec
1717# gem 'byebug', group: [:development, :test]
1818gem "sqlite3" , "~> 2.2"
1919
20- alchemy_branch = ENV . fetch ( "ALCHEMY_BRANCH" , "8.1-stable " )
20+ alchemy_branch = ENV . fetch ( "ALCHEMY_BRANCH" , "main " )
2121gem "alchemy_cms" , github : "AlchemyCMS/alchemy_cms" , branch : alchemy_branch
22- gem "alchemy-devise" , github : "AlchemyCMS/alchemy-devise" , branch : "main"
22+ gem "alchemy-devise" , github : "AlchemyCMS/alchemy-devise" , branch : alchemy_branch
2323
2424gem "rubocop" , require : false
2525gem "standard" , "~> 1.25" , require : false
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ def etag(pages)
125125 end
126126
127127 def page_cache_key ( page )
128- page . cache_key_with_version
128+ Alchemy :: Page :: EtagGenerator . new ( page ) . call
129129 end
130130
131131 def base_page_scope
You can’t perform that action at this time.
0 commit comments