mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
DEV: Remove underscore from learn_more
key in theme export
Follow up from 033cd4f3
This commit is contained in:
@ -455,7 +455,7 @@ class Theme < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
meta[:_learn_more] = "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966"
|
meta[:learn_more] = "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966"
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -89,7 +89,7 @@ describe ThemeStore::TgzExporter do
|
|||||||
"tertiary": "858585"
|
"tertiary": "858585"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"_learn_more": "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966"
|
"learn_more": "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966"
|
||||||
)
|
)
|
||||||
|
|
||||||
expect(File.read("common/body_tag.html")).to eq("<b>testtheme1</b>")
|
expect(File.read("common/body_tag.html")).to eq("<b>testtheme1</b>")
|
||||||
|
Reference in New Issue
Block a user