Sha256: 7b13d53fffcaeffdbcb8efa4a4ebc1203e39f4e98b761fb730790e06a6a825ba

Contents?: true

Size: 151 Bytes

Versions: 2

Compression:

Stored size: 151 Bytes

Contents

module Backend
  class PostsController < PowerResource::BaseController
    def permit_attributes
      %w(category_id title content)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
power_resource-0.0.3 spec/dummy/app/controllers/backend/posts_controller.rb
power_resource-0.0.2 spec/dummy/app/controllers/backend/posts_controller.rb