created details_controller.rb