Platinum Partner

List All Controllers & Actions

// description of your code here


controllers = Dir.new("#{RAILS_ROOT}/app/controllers").entries
controllers.each do |controller|
if controller =~ /_controller/
 cont = controller.camelize.gsub(".rb","")
 puts cont
 (eval("#{cont}.new.methods") -
   ApplicationController.methods -
   Object.methods - 
   ApplicationController.new.methods).sort.each {|met|
      puts "\t#{met}"
   }
end

end
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}