Skip to content

Commit

Permalink
Added TODOs for this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Light committed Nov 30, 2011
1 parent 5fcc9d6 commit ad57300
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module ApplicationHelper
def availability_links
# TODO: Consider embedding haml engine call here so that we can use HAML instead of clusterfuck that is content_tag
# TODO: Then extract the haml engine call out into a method that takes a string of HAML but handles all of the details of setting up the engine
content_tag(:span) do
link_to("Mark Available", user_availability_path(current_user), method: :post, class: "available #{availability_css_class(:available)}", remote: true) +
link_to("Mark Unvailable", user_availability_path(current_user), method: :delete, class: "unavailable #{availability_css_class(:unavailable)}", remote: true)
Expand Down

0 comments on commit ad57300

Please sign in to comment.