If you do not want to specify the view to use.
Rails is smart enough to know which view template to use based on the Controller Action you're on.
For example, if you're on the show
action of the TabellesController
you wouldn't need to specify render "tabelle/show"
in your Controller Action because Rails will already assume that and will automatically try to render the file in app/views/tabelles/show.html.erb
.
So if you're sticking with all of those defaults then you can just use the following to render without the typical layout template:
def show
# Other stuff in your Controller Action.
render layout: false
end
This will render app/views/tabelles/show.html.erb
but without the layout template automatically.
Noice.