Controllers Basic

suggest change
class UsersController < ApplicationController
  def index
    respond_to do |format|
      format.html { render html: "Hello World" }
    end
  end
end

This is a basic controller. Add this route in config/routes.rb:

resources :users, only: [:index]

Visiting /users then renders the text Hello World.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents