Refactor conn aliasing in controller tests to use pipe chains
Applied refactor_conn_aliasing.sh to eliminate conn shadowing. Show draft posts in test and dev
This commit is contained in:
@@ -61,7 +61,8 @@ config :logger, :default_formatter,
|
||||
config :phoenix, :json_library, Jason
|
||||
|
||||
config :blogex,
|
||||
blogs: [Firehose.EngineeringBlog, Firehose.ReleaseNotes]
|
||||
blogs: [Firehose.EngineeringBlog, Firehose.ReleaseNotes],
|
||||
show_drafts: true
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
|
||||
@@ -13,6 +13,9 @@ config :swoosh, api_client: Swoosh.ApiClient.Req
|
||||
# Disable Swoosh Local Memory Storage
|
||||
config :swoosh, local: false
|
||||
|
||||
# Hide draft blog posts in production
|
||||
config :blogex, show_drafts: false
|
||||
|
||||
# Do not print debug messages in production
|
||||
config :logger, level: :info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user