Skip to content
This repository has been archived by the owner on Feb 6, 2022. It is now read-only.

Commit

Permalink
Add tags tag
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Sep 15, 2008
1 parent 59e3db2 commit ab26ba9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/models/ba_tags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ def ba_input_tag(tag)
end
end

desc "List the current page's tags (without links)"
tag "tags" do |tag|
output = []
tag.locals.page.tag_list
end

[:signup_page, :edit_presentation_page, :attendance_page].each do |p|
desc "Makes the happening's #{p} the current page"
tag "ba:#{p}" do |tag|
Expand Down

0 comments on commit ab26ba9

Please sign in to comment.