Noosfero/noosfero

View on GitHub
app/models/control_panel/manage_content.rb

Summary

Maintainability
A
25 mins
Test Coverage
class ControlPanel::ManageContent < ControlPanel::Entry
  class << self
    def name
      _("Manage")
    end

    def section
      "content"
    end

    def icon
      "folder"
    end

    def priority
      10
    end

    def custom_keywords
      [_("content"), _("cms")]
    end

    def url(profile)
      { controller: "cms", action: "index" }
    end
  end
end