Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class ApplicationController < ActionController::Base
before_filter :find_all_tags, :except => [:create]

def find_all_tags
@tags = Tag.where("status='false'")
@tags = Tag.where("status='false'").order("name ASC")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where("status='false'")
милый синтаксис :D

end
protected

Expand Down