Class: Blogrrr::TagsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/blogrrr/tags_controller.rb

Instance Method Summary collapse

Instance Method Details

#index ⇒ Object



9
10
11
# File 'app/controllers/blogrrr/tags_controller.rb', line 9

def index
  @tags = Tag.all
end

#show ⇒ Object



5
6
7
# File 'app/controllers/blogrrr/tags_controller.rb', line 5

def show
  @tag = Tag.find(params[:id])
end