Sha256: 8cca9b9786891ee3d864eb0e6613eda2da10304f87bc4b7c0a675ca7ebd87c63

Contents?: true

Size: 635 Bytes

Versions: 6

Compression:

Stored size: 635 Bytes

Contents

module ActionDispatch::Routing
  class Mapper
    def mount_ants_redirects
      get "/*id" => 'redirects#show', :constraints => ::Constraints::Redirects
    end

    def mount_ants_admin_users_crud
      resources :admin_users, controller: "admin_users" do
        member do
          patch :update_password
        end
      end
    end

    def mount_ants_redirects_crud
      resources :redirects, controller: "redirects"
    end

    def mount_ants_settings_crud
      resources :settings_objects, controller: "settings_objects"
    end

    def mount_ants_menus_crud
      resources :menus, controller: "menus"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ants-0.3.14 lib/ants/routing.rb
ants-0.3.13 lib/ants/routing.rb
ants-0.3.12 lib/ants/routing.rb
ants-0.3.11 lib/ants/routing.rb
ants-0.3.10 lib/ants/routing.rb
ants-0.3.9 lib/ants/routing.rb