I'm currently developing a Rails application and have a question about whether a controller function is necessary for every static page, even if it only contains HTML and CSS. I understand the need to create a view and adjust routes.rb, but can someone elaborate on why a controller function must be defined for each page?
class StaticPagesController < ApplicationController
def home
end
def about
end
In this case, do I really need to define a "about" function for static content?