I had added different css files for both the controllers but my whole app is only taking css from the product.css
I had added different css files for both t
Okay you're using SCSS mixed with CSS, my advice would be to change product.css into product.scss and import the paths using
@import '/*';
@import '/**/*';
Depending on your folder structure else rails will throw an error if it can't find any files because rails is not picking up the scss files.
Also you could remove all the asset pipeline stuff and do @import 'font-awesome';