undo undo undo

This commit is contained in:
Tadhg
2019-04-21 17:17:42 -07:00
committed by GitHub
parent fc03e421dd
commit e966f953e1

View File

@@ -1,26 +1,11 @@
class ForumsController < ApplicationController
before_filter :check_permission, only: [:show, :edit, :update, :destroy]
class PagesController < ApplicationController
def robots
respond_to :text
end
end
add_breadcrumb "Forum", :forums_path
def index
@forum = Forum.all
end
def show
@forum = Forum.friendly.find(params[:id])
add_breadcrumb @forum, forum_path(@forum)
end
end
def index