In config/routes.rb
:
get '/page' => 'controller#action'
If your controller is:
class UsersController < ApplicationController
def something
end
end
Then config/routes.rb
would be:
get '/page' => 'users#something'
For static pages you could want to use public
folder though, everything you put there is directly accessible, for example public/qqqqqq.html
would be accessed in localhost:3000/qqqqqq.html