-
-
Save shiroginne/4374087564ba4438b74b3a82df51ba97 to your computer and use it in GitHub Desktop.
Rails CRUD controllers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PostsController < ApplicationController | |
def index | |
end | |
def show | |
end | |
def new | |
end | |
... | |
end | |
class RatingsController < ApplicationController | |
def create | |
end | |
def update | |
end | |
... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment