final/app/controllers/articles_controller.rb

44 lines
323 B
Ruby

class ArticlesController < ApplicationController
def index
end
def new
end
def create
end
def show
end
def edit
end
def update
end
def destroy
end
def star
end
protected
def check_current_user_is_admin
end
def article
end
end