method

default_actions

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: SingletonResource
default_actions() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 1243
          def default_actions
            if @api_only
              [:show, :create, :update, :destroy]
            else
              [:show, :create, :update, :destroy, :new, :edit]
            end
          end
Register or log in to add new notes.