make json readable
This commit is contained in:
parent
624d12de6d
commit
e4de229b22
|
@ -50,7 +50,9 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
render :json => @data.to_json
|
#render :json => @data.to_json
|
||||||
|
#to print readable json
|
||||||
|
render :json => JSON.pretty_generate(@data)
|
||||||
end
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
|
Reference in New Issue