8 lines
136 B
Ruby
8 lines
136 B
Ruby
module Api
|
|
class PostsController < Api::BaseController
|
|
def permitted_params
|
|
[:body] # title not permitted
|
|
end
|
|
end
|
|
end
|