amahi/platform

View on GitHub
plugins/020-shares/config/routes.rb

Summary

Maintainability
A
0 mins
Test Coverage
Shares::Engine.routes.draw do
    # root of the plugin
        root :to => 'shares#index'
    # examples of controllers built in this generator. delete at will
    match 'settings' => 'shares#settings', via: [:get,:post]
    match 'advanced' => 'shares#advanced', via: [:get,:post]
    put 'update_size/:id' => 'shares#update_size', as: "update_size"
end