JakeCulp / IDM-232

0 stars 0 forks source link

Two Config Files? #2

Open philsinatra opened 7 years ago

philsinatra commented 7 years ago

You have two config files:

Why not have a single config file since they are both doing the same thing?

JakeCulp commented 7 years ago

Each of them are selecting from a different part of the database, that's why there are two of them.

philsinatra commented 7 years ago

The configuration information is identical in both. The query is different. So the query doesn't belong in the configuration file, it belongs in the template associated with the information being requested in the database. There should only be one config file, and the query statements should be moved to the other template pages.