No index.php in public

Hello I am new in ruby and rails.So if I do any mistake please pardon me. I installed ruby 2.5.1 and rails 5.2.1 in CentOS7. Then I create a project by the command $rails new testapp .It created a project folder in my root directory which is /var/www/html. But there is no index.php in testapp public folder. If I am not wrong , this index.php is shown to the user. Any suggestions will be great. Thank you.

@aysha - you’re not going to have an index.php file in rails. A .php file is only used with PHP

1 Like