Project

General

Profile

« Previous | Next » 

Revision 6067d906

Added by Sean O'Keeffe over 8 years ago

Fixes #13554 - Setting releated to taxonomies shouldn't be shown if they are disabled

View differences:

app/controllers/api/v1/settings_controller.rb
param :per_page, String, :desc => "number of entries per request"
def index
@settings = Setting.search_for(*search_options).paginate(paginate_options)
@settings = Setting.live_descendants.search_for(*search_options).paginate(paginate_options)
end
api :GET, "/settings/:id/", "Show an setting."

Also available in: Unified diff