Sha256: 283874cf02d6bb41abcc345f56b24338f047bb4c3aa4e36b53706ce9cabafd67

Contents?: true

Size: 1.25 KB

Versions: 13

Compression:

Stored size: 1.25 KB

Contents

# encoding: utf-8
module Mutx
  module View
    class Sections

      @@sections = {
        "Edit Tasks" => "tasks/admin/list",
        "Add Task" => "tasks/admin/new",
        "Edit Task" => "tasks/admin/edit",
        "View Task" => "tasks/admin/view",
        "Delete Task" => "tasks/admin/delete",
        "Tests" => "tasks/tasks",
        "Test Message" => 'tasks/message',
        "Tasks" => "tasks/tasks",
        "Task Message" => 'tasks/message',
        "Features" => "features/features",
        "Feature" => "features/feature",
        "Results"=>  "results/results",
        "Console" => "results/console",
        "Report" => "results/report",
        "All Results"=> "results/all",
        "Custom Params" => "custom/params/list",
        "New Custom Param" => "custom/params/new",
        "Edit Custom Param" => "custom/params/edit",
        "Delete Custom Param" => "custom/params/delete",
        "View Configuration" => "admin/config",
        "Edit Configuration" => "admin/config/edit",
        "Repo" => "",
        "Logs" => "logs",
        "Log" => "logs/log",
        "Help" => "",
        "New Repo" => "repos",
        "List Repos" => "list_repos",
      }

      def self.path_for section
        @@sections[section]
      end


    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mutx-0.1.69 lib/mutx/view/sections.rb
mutx-0.1.68 lib/mutx/view/sections.rb
mutx-0.1.67 lib/mutx/view/sections.rb
mutx-0.1.66 lib/mutx/view/sections.rb
mutx-0.1.65 lib/mutx/view/sections.rb
mutx-0.1.64 lib/mutx/view/sections.rb
mutx-0.1.63 lib/mutx/view/sections.rb
mutx-0.1.62 lib/mutx/view/sections.rb
mutx-0.1.61 lib/mutx/view/sections.rb
mutx-0.1.60 lib/mutx/view/sections.rb
mutx-0.1.59 lib/mutx/view/sections.rb
mutx-0.1.58 lib/mutx/view/sections.rb
mutx-0.1.57 lib/mutx/view/sections.rb